mkspecs/features/qt.prf
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
    34 #handle includes
    34 #handle includes
    35 INCLUDEPATH = $$QMAKE_INCDIR_QT $$INCLUDEPATH #prepending prevents us from picking up "stale" includes
    35 INCLUDEPATH = $$QMAKE_INCDIR_QT $$INCLUDEPATH #prepending prevents us from picking up "stale" includes
    36 win32:INCLUDEPATH += $$QMAKE_INCDIR_QT/ActiveQt
    36 win32:INCLUDEPATH += $$QMAKE_INCDIR_QT/ActiveQt
    37 
    37 
    38 # As order does matter for static libs, we reorder the QT variable here
    38 # As order does matter for static libs, we reorder the QT variable here
    39 TMPLIBS = webkit phonon multimedia dbus testlib script scripttools svg qt3support sql xmlpatterns xml egl opengl openvg gui network core
    39 TMPLIBS = declarative webkit phonon multimedia dbus testlib script scripttools svg qt3support sql xmlpatterns xml egl opengl openvg gui network core
    40 for(QTLIB, $$list($$TMPLIBS)) {
    40 for(QTLIB, $$list($$TMPLIBS)) {
    41    contains(QT, $$QTLIB): QT_ORDERED += $$QTLIB
    41    contains(QT, $$QTLIB): QT_ORDERED += $$QTLIB
    42 }
    42 }
    43 
    43 
    44 QT_UNKNOWN = $$QT
    44 QT_UNKNOWN = $$QT
   167        # The Helix backend requires this. Since we can't let a plugin set it,
   167        # The Helix backend requires this. Since we can't let a plugin set it,
   168        # we bump the values for all Symbian Phonon plugins.
   168        # we bump the values for all Symbian Phonon plugins.
   169        symbian:isEmpty(TARGET.EPOCHEAPSIZE):TARGET.EPOCHEAPSIZE = 0x040000 0x1600000
   169        symbian:isEmpty(TARGET.EPOCHEAPSIZE):TARGET.EPOCHEAPSIZE = 0x040000 0x1600000
   170 
   170 
   171    } else:isEqual(QTLIB, webkit):qlib = QtWebKit
   171    } else:isEqual(QTLIB, webkit):qlib = QtWebKit
       
   172    else:isEqual(QTLIB, declarative):qlib = QtDeclarative
   172    else:isEqual(QTLIB, multimedia):qlib = QtMultimedia
   173    else:isEqual(QTLIB, multimedia):qlib = QtMultimedia
   173    else:message("Unknown QT: $$QTLIB"):qlib =
   174    else:message("Unknown QT: $$QTLIB"):qlib =
   174    !isEmpty(qlib) {
   175    !isEmpty(qlib) {
   175       target_qt:isEqual(TARGET, qlib) {
   176       target_qt:isEqual(TARGET, qlib) {
   176          warning($$TARGET cannot have a QT of $$QTLIB)
   177          warning($$TARGET cannot have a QT of $$QTLIB)