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/mkspecs/features/symbian/default_post.prf

    r769 r846  
    44    contains(CONFIG, stdbinary) {
    55        QMAKE_LIBS +=
    6     } else:contains(QT, gui):contains(CONFIG,qt) {
    7         S60MAIN_LIBS = -leuser
    8         QMAKE_LIBS += -lqtmain$${QT_LIBINFIX}.lib $$S60MAIN_LIBS
     6    } else:contains(CONFIG,qt) {
     7        QMAKE_LIBS += $$QMAKE_LIBS_QT_ENTRY
    98    } else {
    10         QMAKE_LIBS += $$QMAKE_LIBS_QT_ENTRY
     9        QMAKE_LIBS += $$QMAKE_LIBS_NO_QT_ENTRY
    1110    }
     11
     12    contains(DESTDIR, "/.*") {
     13        default_bin_deployment.sources += $$DESTDIR/$$symbianRemoveSpecialCharacters($$basename(TARGET)).exe
     14    } else:isEmpty(DESTDIR) {
     15        default_bin_deployment.sources += $$OUT_PWD/$$symbianRemoveSpecialCharacters($$basename(TARGET)).exe
     16    } else {
     17        default_bin_deployment.sources += $$OUT_PWD/$$DESTDIR/$$symbianRemoveSpecialCharacters($$basename(TARGET)).exe
     18    }
     19    default_bin_deployment.path += /sys/bin
     20
     21    load(application_icon.prf)
    1222}
    1323contains(TEMPLATE, lib): {
     
    2737}
    2838
    29 contains(TEMPLATE, ".*app"):contains(QT, gui):contains(CONFIG,qt) {
    30     load(application_icon.prf)
     39isEmpty(TARGET.UID3):TARGET.UID3 = $$generate_uid("$${OUT_PWD}/$${TARGET}")
     40isEmpty(TARGET.UID2) {
     41    contains(CONFIG, stdbinary) {
     42        TARGET.UID2 = 0x20004C45
     43    } else {
     44        contains(TEMPLATE, app) {
     45            contains(QT, gui) {
     46                TARGET.UID2 = 0x100039CE
     47            } else {
     48                TARGET.UID2 = 0
     49            }
     50        } else:contains(TEMPLATE, lib):!contains(CONFIG, static):!contains(CONFIG, staticlib) {
     51            TARGET.UID2 = 0x1000008d
     52        }
     53    }
    3154}
     55
     56# Supports Symbian^3 and Symbian^4 by default and also S60 3.1, 3.2, and 5.0 if built against any of those.
     57platform_product_id = S60ProductID
     58platform_product_id = $$addLanguageDependentPkgItem(platform_product_id)
     59pkg_platform_dependencies = \
     60    "; Default HW/platform dependencies" \
     61    "[0x20022E6D],0,0,0,{$$platform_product_id}" \
     62    "[0x20032DE7],0,0,0,{$$platform_product_id}"
     63contains(S60_VERSION, 3.1)|contains(S60_VERSION, 3.2)|contains(S60_VERSION, 5.0) {
     64    pkg_platform_dependencies += \
     65        "[0x102032BE],0,0,0,{$$platform_product_id}" \
     66        "[0x102752AE],0,0,0,{$$platform_product_id}" \
     67        "[0x1028315F],0,0,0,{$$platform_product_id}"
     68}
Note: See TracChangeset for help on using the changeset viewer.