Changeset 385 for trunk/tools/designer


Ignore:
Timestamp:
Dec 5, 2009, 2:33:42 AM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

general: Moved VERSION definition to src/qt_targets.pri to have it in a single source and together with other relevant information. Added inclusion of src/qt_targets.pri by linguist, assistant and designer application projects so that they will embed version information too.

Location:
trunk/tools/designer/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/designer/src/components/lib/lib.pro

    r372 r385  
    1212# QtDesignerComponents uses
    1313DEFINES += QT_STATICPLUGIN
    14 
    15 isEmpty(QT_MAJOR_VERSION) {
    16    VERSION=4.3.0
    17 } else {
    18    VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
    19 }
    2014
    2115include(../../../../../src/qt_targets.pri)
  • trunk/tools/designer/src/designer/designer.pro

    r2 r385  
    8888unix:!mac:LIBS += -lm
    8989TRANSLATIONS = designer_de.ts
     90
     91include(../../../../src/qt_targets.pri)
  • trunk/tools/designer/src/lib/lib.pro

    r369 r385  
    88DESTDIR = ../../../../lib
    99!wince*:DLLDESTDIR = ../../../../bin
    10 
    11 isEmpty(QT_MAJOR_VERSION) {
    12    VERSION=4.3.0
    13 } else {
    14    VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
    15 }
    1610
    1711unix:QMAKE_PKGCONFIG_REQUIRES += QtXml
  • trunk/tools/designer/src/uitools/uitools.pro

    r2 r385  
    99
    1010DEFINES += QFORMINTERNAL_NAMESPACE QT_DESIGNER_STATIC QT_FORMBUILDER_NO_SCRIPT
    11 isEmpty(QT_MAJOR_VERSION) {
    12    VERSION=4.3.0
    13 } else {
    14    VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
    15 }
     11
    1612include(../../../../src/qt_targets.pri)
    1713QMAKE_TARGET_PRODUCT = UiLoader
Note: See TracChangeset for help on using the changeset viewer.