Top "Qmake" questions

`qmake`, part of the Qt framework, is a tool for generating Makefiles and IDE project files.

Make qmake use qt5 by default

I have both qt4 and qt5 on my Linux system. qt4 is used by default. What is a clean way …

qt qt4 qt5 qmake
Qt moc.exe not generating *.moc file

I'm trying to build the qtestlib/tutorial1 example, but the testqstring.moc file isn't being generated when I run nmake (…

qt qmake nmake
qmake: How do I copy .dll/.so's to the output directory?

I have a Qt-project that builds a dll/shared-library and another Qt-project that tests the library. Is there any good …

qt qmake
Building multiple targets in Qt / Qmake

How could I specify multiple targets with different configurations in Qt? Is there a way to do it in one .…

qt qmake
How to put generated files (e.g. object files) into a separate folder when using Qt/qmake?

I have a Qt project that uses qmake. To improve clarity and readability, I'd like to keep the source files …

qt qmake object-files
How to copy Qt runtime DLLs to project output

I have a simple project created in Qt Creator (installed using Qt SDK 1.1.4). It runs just fine from within Qt …

c++ qt qt4 qt-creator qmake
How to add external libraries to qt4 application c++

what is the best way to add additional compiled libraries to my qt project ? For example boost or poco libs ? …

c++ qt4 qmake
Why is there no qmake-qt5 included in the qt5-default package

I installed qt5-default on my Odroid XU3 using the the sudo apt-get install qt5-default command and wanted to …

qt ubuntu qmake odroid
How reference Qt Creator current build directory from Qt project file?

Does Qt Creator set a qmake variable containing the build directory that can be referenced from the Qt project file? …

qt qmake
How to change qmake release flags for gcc? (Change -O2 to -Os)

With qmake you can quite easy change so you build a debug version, or a release version. Just modify the …

qt qmake