Changeset 52792 in webkit


Ignore:
Timestamp:
Jan 5, 2010 1:45:30 AM (14 years ago)
Author:
Simon Hausmann
Message:

[Qt] Fix broken export macros in package builds.

Reviewed by Tor Arne Vestbø.

https://bugs.webkit.org/show_bug.cgi?id=33202

Always define QT_MAKEDLL unless we're doing a static
build or we're building inside of Qt. When building
inside of Qt the correct define is pulled from qbase.pri.

  • WebCore.pro:
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r52791 r52792  
     12010-01-05  Simon Hausmann  <simon.hausmann@nokia.com>
     2
     3        Reviewed by Tor Arne Vestbø.
     4
     5        [Qt] Fix broken export macros in package builds.
     6
     7        https://bugs.webkit.org/show_bug.cgi?id=33202
     8
     9        Always define QT_MAKEDLL unless we're doing a static
     10        build or we're building inside of Qt. When building
     11        inside of Qt the correct define is pulled from qbase.pri.
     12
     13        * WebCore.pro:
     14
    1152010-01-04  Maciej Stachowiak  <mjs@apple.com>
    216
  • trunk/WebCore/WebCore.pro

    r52750 r52792  
    3636    DEFINES *= NDEBUG
    3737} else {
    38     !static: DEFINES += QT_MAKEDLL
    3938
    4039    CONFIG(debug, debug|release) {
     
    4847}
    4948
    50 !CONFIG(QTDIR_build): DESTDIR = $$OUTPUT_DIR/lib
     49!CONFIG(QTDIR_build) {
     50    DESTDIR = $$OUTPUT_DIR/lib
     51    !static: DEFINES += QT_MAKEDLL
     52}
    5153
    5254GENERATED_SOURCES_DIR_SLASH = $$GENERATED_SOURCES_DIR${QMAKE_DIR_SEP}
Note: See TracChangeset for help on using the changeset viewer.