Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qmake incorrect target generation
chatru last edited by
I have a .pro file that looks like this:
@BASEDIR = ../../..
CLEBS *= buildplugin apextools apexdata apexmain
TARGET = maintest
TEMPLATE = app
CONFIG *= qtestlib
QT *= testlib gui
But, the makefile it produces has the following targets:
Accordingly gcc produces a library. However I want an executable to be produced as specified in the .pro file.
I dont understand why this awkward thing is happening? Any pointers are appreciated.
P.S. this is the .pro file for a unit test using qtestlib framework.