Changeset 846 for trunk/projects.pro


Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/projects.pro

    r769 r846  
    4949          include(translations/translations.pri)  # ts targets
    5050       } else {
    51           !wince*:!symbian:SUBDIRS += tools/linguist/lrelease
     51          !wince*:SUBDIRS += tools/linguist/lrelease
    5252       }
    5353       SUBDIRS += translations                    # qm build step
     
    105105}
    106106win32|os2 {
    107   confclean.commands += -$(DEL_FILE) src\core\global\qconfig.h $$escape_expand(\n\t) \
    108                         -$(DEL_FILE) src\core\global\qconfig.cpp $$escape_expand(\n\t) \
    109                         -$(DEL_FILE) mkspecs\qconfig.pri $$escape_expand(\n\t) \
    110                         -$(DEL_FILE) .qmake.cache $$escape_expand(\n\t) \
     107  confclean.commands += -$(DEL_FILE) src\\core\\global\\qconfig.h $$escape_expand(\\n\\t) \
     108                        -$(DEL_FILE) src\\core\\global\\qconfig.cpp $$escape_expand(\\n\\t) \
     109                        -$(DEL_FILE) mkspecs\\qconfig.pri $$escape_expand(\\n\\t) \
     110                        -$(DEL_FILE) .qmake.cache $$escape_expand(\\n\\t) \
    111111                        (cd qmake && $(MAKE) distclean)
    112112}
    113113symbian {
    114114  confclean.depends += distclean
    115   confclean.commands += \
    116             (cd src\tools\moc && $(MAKE) distclean) $$escape_expand(\n\t) \
    117             (cd src\tools\rcc && $(MAKE) distclean) $$escape_expand(\n\t) \
    118             (cd src\tools\uic && $(MAKE) distclean) $$escape_expand(\n\t) \
    119             -$(DEL_FILE) src\corelib\global\qconfig.h $$escape_expand(\n\t) \
    120             -$(DEL_FILE) src\corelib\global\qconfig.cpp $$escape_expand(\n\t) \
    121             -$(DEL_FILE) mkspecs\qconfig.pri $$escape_expand(\n\t) \
    122             -$(DEL_FILE) .qmake.cache $$escape_expand(\n\t) \
     115  contains(QMAKE_HOST.os, "Windows") {
     116    confclean.commands += \
     117            (cd src\\tools\\moc && $(MAKE) distclean) $$escape_expand(\\n\\t) \
     118            (cd src\\tools\\rcc && $(MAKE) distclean) $$escape_expand(\\n\\t) \
     119            (cd src\\tools\\uic && $(MAKE) distclean) $$escape_expand(\\n\\t) \
     120            -$(DEL_FILE) src\\corelib\\global\\qconfig.h $$escape_expand(\\n\\t) \
     121            -$(DEL_FILE) src\\corelib\\global\\qconfig.cpp $$escape_expand(\\n\\t) \
     122            -$(DEL_FILE) mkspecs\\qconfig.pri $$escape_expand(\\n\\t) \
     123            -$(DEL_FILE) .qmake.cache $$escape_expand(\\n\\t) \
    123124            (cd qmake && $(MAKE) distclean)
    124            
     125  } else {
     126    confclean.commands += \
     127            (cd src/tools/moc && $(MAKE) distclean) $$escape_expand(\\n\\t) \
     128            (cd src/tools/rcc && $(MAKE) distclean) $$escape_expand(\\n\\t) \
     129            (cd src/tools/uic && $(MAKE) distclean) $$escape_expand(\\n\\t) \
     130            -$(DEL_FILE) src/corelib/global/qconfig.h $$escape_expand(\\n\\t) \
     131            -$(DEL_FILE) src/corelib/global/qconfig.cpp $$escape_expand(\\n\\t) \
     132            -$(DEL_FILE) mkspecs/qconfig.pri $$escape_expand(\\n\\t) \
     133            -$(DEL_FILE) .qmake.cache $$escape_expand(\\n\\t) \
     134            (cd qmake && $(MAKE) distclean)
     135  }
    125136}
    126137QMAKE_EXTRA_TARGETS += confclean
     
    149160#mkspecs
    150161mkspecs.path=$$[QT_INSTALL_DATA]/mkspecs
    151 mkspecs.files=$$QT_BUILD_TREE/mkspecs/qconfig.pri $$QT_SOURCE_TREE/mkspecs/*
     162mkspecs.files=$$QT_BUILD_TREE/mkspecs/qconfig.pri $$files($$QT_SOURCE_TREE/mkspecs/*)
     163mkspecs.files -= $$QT_SOURCE_TREE/mkspecs/modules
    152164unix {
    153165   DEFAULT_QMAKESPEC = $$QMAKESPEC
    154166   DEFAULT_QMAKESPEC ~= s,^.*mkspecs/,,g
    155167   mkspecs.commands += $(DEL_FILE) $(INSTALL_ROOT)$$mkspecs.path/default; $(SYMLINK) $$DEFAULT_QMAKESPEC $(INSTALL_ROOT)$$mkspecs.path/default
     168   mkspecs.files -= $$QT_SOURCE_TREE/mkspecs/default
    156169}
    157170win32:!equals(QT_BUILD_TREE, $$QT_SOURCE_TREE) {
Note: See TracChangeset for help on using the changeset viewer.