configure.exe: move a few things from qmodule.pri to qconfig.pri
QMAKE_RPATHDIR, QT_LIBINFIX and QT_NAMESPACE were previously set in qmodule.pri on Windows, and qconfig.pri on platforms other than Windows. Make the behavior consistent, move them to qconfig.pri. qconfig.pri is the correct file because these variables need to be visible for _all_ users of Qt, and not only the other Qt modules (the ones who load qmodule.pri). Change-Id: I4d517488a80b134a78ebde8d3196bdab3c3ab991 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>bb10
parent
3fe02eaa12
commit
1211fd0b61
|
|
@ -2522,16 +2522,6 @@ void Configure::generateCachefile()
|
|||
if (dictionary["CE_SIGNATURE"] != QLatin1String("no"))
|
||||
moduleStream << "DEFAULT_SIGNATURE=" << dictionary["CE_SIGNATURE"] << endl;
|
||||
|
||||
if (!dictionary["QMAKE_RPATHDIR"].isEmpty())
|
||||
moduleStream << "QMAKE_RPATHDIR += " << dictionary["QMAKE_RPATHDIR"] << endl;
|
||||
|
||||
if (!dictionary["QT_LIBINFIX"].isEmpty())
|
||||
moduleStream << "QT_LIBINFIX = " << dictionary["QT_LIBINFIX"] << endl;
|
||||
|
||||
if (!dictionary["QT_NAMESPACE"].isEmpty()) {
|
||||
moduleStream << "#namespaces" << endl << "QT_NAMESPACE = " << dictionary["QT_NAMESPACE"] << endl;
|
||||
}
|
||||
|
||||
// embedded
|
||||
if (!dictionary["KBD_DRIVERS"].isEmpty())
|
||||
moduleStream << "kbd-drivers += "<< dictionary["KBD_DRIVERS"]<<endl;
|
||||
|
|
@ -2542,9 +2532,6 @@ void Configure::generateCachefile()
|
|||
if (!dictionary["DECORATIONS"].isEmpty())
|
||||
moduleStream << "decorations += "<<dictionary["DECORATIONS"]<<endl;
|
||||
|
||||
if (!dictionary["QMAKE_RPATHDIR"].isEmpty())
|
||||
moduleStream << "QMAKE_RPATHDIR += "<<dictionary["QMAKE_RPATHDIR"]<<endl;
|
||||
|
||||
moduleStream << "CONFIG += create_prl link_prl" << endl;
|
||||
|
||||
moduleStream.flush();
|
||||
|
|
@ -2667,6 +2654,15 @@ void Configure::generateQConfigPri()
|
|||
<< "}" << endl;
|
||||
}
|
||||
|
||||
if (!dictionary["QMAKE_RPATHDIR"].isEmpty())
|
||||
configStream << "QMAKE_RPATHDIR += " << dictionary["QMAKE_RPATHDIR"] << endl;
|
||||
|
||||
if (!dictionary["QT_LIBINFIX"].isEmpty())
|
||||
configStream << "QT_LIBINFIX = " << dictionary["QT_LIBINFIX"] << endl;
|
||||
|
||||
if (!dictionary["QT_NAMESPACE"].isEmpty())
|
||||
configStream << "#namespaces" << endl << "QT_NAMESPACE = " << dictionary["QT_NAMESPACE"] << endl;
|
||||
|
||||
configStream.flush();
|
||||
configFile.close();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue