Changeset 56721 in webkit


Ignore:
Timestamp:
Mar 29, 2010 7:48:47 AM (14 years ago)
Author:
Simon Hausmann
Message:

[Qt] unit tests don't compile inside of Qt

Reviewed by Tor Arne Vestbø.

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

  • tests/tests.pri: Don't do the target substitution inside Qt and find the sources

through VPATH instead of relying on the location of the .pro file exclusively.

Location:
trunk/WebKit/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/qt/ChangeLog

    r56718 r56721  
     12010-03-29  Simon Hausmann  <simon.hausmann@nokia.com>
     2
     3        Reviewed by Tor Arne Vestbø.
     4
     5        [Qt] unit tests don't compile inside of Qt
     6
     7        https://bugs.webkit.org/show_bug.cgi?id=36756
     8
     9        * tests/tests.pri: Don't do the target substitution inside Qt and find the sources
     10        through VPATH instead of relying on the location of the .pro file exclusively.
     11
    1122010-03-26  Kenneth Rohde Christiansen  <kenneth@webkit.org>
    213
  • trunk/WebKit/qt/tests/tests.pri

    r54715 r56721  
    22CONFIG -= app_bundle
    33
    4 TARGET = tst_$$TARGET
    5 SOURCES += $$_PRO_FILE_PWD_/$${TARGET}.cpp
     4VPATH += $$_PRO_FILE_PWD_
     5!CONFIG(QTDIR_build):TARGET = tst_$$TARGET
     6SOURCES += $${TARGET}.cpp
    67INCLUDEPATH += \
    78    $$PWD \
Note: See TracChangeset for help on using the changeset viewer.