New answers tagged

0

Try installing libqt4-dev to install the Qt4 development files.


0

The problem was that libqxcb.so was there, but its dependencies were not met, namely, libxcb-image.so.0 was marked "not found" in the output of ldd /usr/lib/i386-linux-gnu/qt5/plugins/platforms/libqxcb.so Reinstalling the libxcb-image0 package with sudo apt install --reinstall libxcb-image0 fixed the problem!


0

Using terminal, go to the folder where the application is installed and type: ldd ./name_of_the_application This should present you with a list of all the required libraries for the application and their location or "not found" if they were not found. If any are displayed as not found, installing them should solve your problem. It's likely you at least ...


0

You can download older versions of Qt here. I believe it will be the source though so you may have to compile it. There is a file within the same link that explains how to do this. Once compiled, you should be able to add the older Qt version to QtCreator. Go to Tools->Options and then select "Build & Run" to add and configure the older version.


0

Put this in ~/.bashrc. It works with Qt 5 and Gtk+ 3: export QT_STYLE_OVERRIDE=gtk


0

This does the job, in Qt 5 and Gtk+ 3: export QT_STYLE_OVERRIDE=gtk


0

I would run the program from a terminal with a GDB server (as root) and then connect to the server with gdb from QtCreator. You would start gdbserver with something like this: $ sudo gdbserver host:2345 ./MyApp Here, you are hosting the server with port 2345. You can also check if your application is indeed running with UID 0. $ sudo ps -u Now, in Qt ...


1

In my ubuntu type: sudo ln -sf /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/ /usr/bin/platforms Can work


0

personally i would recommend updating to 16.04 as well like the above comment as that would be the best way. however, if you cant then "maybe" you might try updating your source repository temporarily. QT5 is part of the main branch so all you need is to do is add something like: deb http://us.archive.ubuntu.com/ubuntu xenial main then do "apt-get update" ...


0

Linked on Ubuntu section of Launchpad: https://launchpad.net/ubuntu/xenial/+package/libqt4-core https://launchpad.net/ubuntu/xenial/+package/libqt4-gui You can install a .deb (Debian binary package) using dpkg: sudo dpkg -i libqt4-core_4.8.6...ubuntu8_amd64.deb



Top 50 recent answers are included