From MEPIS Documentation Wiki

Jump to: navigation, search

QT4 development with QDevelop

  • Install QT4 development packages and cmake. Not all of them are needed, but these are nice to have:
apt-get install libqt4-core libqt4-debug libqt4-gui libqt4-qt3support \
libqt4-sql qt4-designer qt4-dev-tools qt4-doc qt4-qtconfig exuberant-ctags cmake
cmake . && make

If everything works as it should this should produce a binary file in bin sub-directory, you can run it with ./qdevelop or if you want you can move it to /usr/bin and then run it by typing "qdevelop" in Run Command.

  • Run update-alternatives as root and change the relevant links from qt3 to qt4.

For more information about how to use QDevelop to make a small QT program follow How To Create a Linux Desktop App In 14 Minutes For Beginners tutorial.

Personal tools
In other languages