[Interest] Qt 5.5 qmake problem

André Somers andre at familiesomers.nl
Thu Sep 3 15:29:05 CEST 2015


Hi,

I am wondering: did something change in QMake in Qt 5.5? We are using 
this .pro file to generate some code that contains version and build 
information at compile time:

QT-=gui

TARGET=Version

TEMPLATE=lib

CONFIG+=staticlib

SOURCES+=version.cpp

HEADERS+=version.h

version.target=version.cpp

version.depends=FORCE

win32{

version.commands=make_version.bat

}

unix{

version.commands=./make_version.sh

}

QMAKE_EXTRA_TARGETS=version

OTHER_FILES=make_version.bat\

make_version.sh


This used to work great up to Qt 5.4.2. Now, we upgraded to Qt 5, and we 
see that the version file is no longer regenerated and recompiled. That 
is annoying to say the least. Did something change here that I missed?

André


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150903/fec2643b/attachment.html>


More information about the Interest mailing list