Ignore:
Timestamp:
Mar 8, 2010, 4:00:31 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

qmake:qmake: os2/gnumake: Add support for the declspec(dllexport)-based DLL generation and activate this support by default which greatly reduces the number of exported symbols in Qt DLLs. The old method which causes all public symbols to be exported is still available using the "export_all" CONFIG flag (off by default). Note that DLL splitting will turn "export_all" on because otherwise it is impossible to create split DLLs at the moment (emxexp limitation).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mkspecs/features/os2/default_pre.prf

    r593 r656  
    2525
    2626    !dll:error("splitDllBegin may only be used for DLLs!")
     27
     28    # splitDLL functionality currently requires export_all
     29    CONFIG *= export_all
     30    export(CONFIG)
    2731
    2832    1 = $$unique(1)
     
    145149
    146150    CONFIG($$SPLIT_CONFIG) {
     151
     152                # splitDLL functionality currently requires export_all
     153        !export_all:error("splitDllPart requires export_all in CONFIG!")
     154
    147155        CONFIG($$scope): {
    148156            eval($${scope}_HEADERS = $$HEADERS)
     
    184192
    185193        CONFIG($$SPLIT_CONFIG):CONFIG($$scope) {
     194
     195                        # splitDLL functionality currently requires export_all
     196            !export_all:error("splitDllEnd requires export_all in CONFIG!")
     197
    186198            eval(HEADERS = $$eval($${scope}_HEADERS))
    187199            export(HEADERS)
Note: See TracChangeset for help on using the changeset viewer.