Wow. With full example :)
Thanks a lot Elvis, this works indeed fine.
I've also added the following common lines to myProg-sources.pri:
QT += core network
QT -= gui
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
List of sources goes here...
The both .pro files now simply contain the
Hi Elvis and Konstantin,
thanks for your suggestions.
I think I will take the SUBDIRS way.
Best regards,
André
Am 03.12.2015 um 13:04 schrieb Elvis Stansvik:
2015-12-03 13:02 GMT+01:00 Konstantin Tokarev :
03.12.2015, 15:00, "Elvis Stansvik" :
Hi
Hi André,
2015-12-03 10:51 GMT+01:00 André Hartmann :
> Hello,
>
> I have a Qmake based project that is developed in Qt Creator (currently
> compiled with Linux/gcc and Windows/MinGW).
>
> Depending on a configuration variable the PRO file my program links to one
> of
2015-12-03 13:02 GMT+01:00 Konstantin Tokarev :
>
>
> 03.12.2015, 15:00, "Elvis Stansvik" :
>> Hi André,
>>
>> 2015-12-03 10:51 GMT+01:00 André Hartmann :
>>> Hello,
>>>
>>> I have a Qmake based project that is developed in Qt
Hello,
I have a Qmake based project that is developed in Qt Creator (currently
compiled with Linux/gcc and Windows/MinGW).
Depending on a configuration variable the PRO file my program links to
one of two librarys:
TARGET = myProg
CONFIG += TESTLIB
CONFIG(TESTLIB): LIBS += libXXXtest