tests.pro
39 lines
| 885 B
| text/idl
|
PrologLexer
/ tests / tests.pro
r0 | # --------- PythonQtTest profile ------------------- | |||
# Last changed by $Author: florian $ | ||||
# $Id: PythonQt.pro 35381 2006-03-16 13:05:52Z florian $ | ||||
# $Source$ | ||||
# -------------------------------------------------- | ||||
TARGET = PythonQtTest | ||||
TEMPLATE = app | ||||
r6 | DESTDIR = ../lib | |||
mac { | ||||
CONFIG -= app_bundle | ||||
} | ||||
QT += testlib | ||||
include ( ../build/common.prf ) | ||||
CONFIG+=BUILDING_QTALL | ||||
include ( ../build/pythonqt.prf ) | ||||
r0 | ||||
contains(QT_MAJOR_VERSION, 5) { | ||||
r6 | QT += widgets | |||
r0 | } | |||
HEADERS += \ | ||||
PythonQtTests.h | ||||
SOURCES += \ | ||||
PythonQtTestMain.cpp \ | ||||
PythonQtTests.cpp | ||||
r6 | ||||
# run the tests after compiling | ||||
macx { | ||||
QMAKE_POST_LINK = cd $${DESTDIR} && ./$${TARGET} | ||||
} else:win32 { | ||||
QMAKE_POST_LINK = \"$${DESTDIR}/$${TARGET}.exe\" | ||||
} else:unix { | ||||
# linux | ||||
QMAKE_POST_LINK = cd $${DESTDIR} && LD_LIBRARY_PATH=$$(LD_LIBRARY_PATH):./ xvfb-run -a ./$${TARGET} | ||||
} | ||||