tests: make benchmarks compile or disable those which don't compile
Reviewed-by: Jason McDonald Change-Id: Idc9fa4722b59f9b75d5e4a91bbfd0ae068d29b3d
This commit is contained in:
parent
427d32a3b8
commit
ce26a6fd2b
@ -3,7 +3,7 @@ SUBDIRS = \
|
||||
qdir \
|
||||
qdiriterator \
|
||||
qfile \
|
||||
qfileinfo \
|
||||
#qfileinfo \ # FIXME: broken
|
||||
qiodevice \
|
||||
qtemporaryfile
|
||||
|
||||
|
@ -6,6 +6,8 @@ INCLUDEPATH += .
|
||||
|
||||
QT -= gui
|
||||
|
||||
QT += core-private
|
||||
|
||||
CONFIG += release
|
||||
|
||||
# Input
|
||||
|
@ -1,6 +1,7 @@
|
||||
load(qttest_p4)
|
||||
TARGET = tst_bench_qstring
|
||||
QT -= gui
|
||||
QT += core-private
|
||||
SOURCES += main.cpp data.cpp fromlatin1.cpp fromutf8.cpp
|
||||
|
||||
wince*:{
|
||||
|
@ -1,7 +1,7 @@
|
||||
load(qttest_p4)
|
||||
TARGET = tst_bench_qdbustype
|
||||
QT -= gui
|
||||
QT += dbus
|
||||
QT += dbus dbus-private
|
||||
QMAKE_CXXFLAGS += $$QT_CFLAGS_DBUS
|
||||
LIBS_PRIVATE += $$QT_LIBS_DBUS
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
TEMPLATE = subdirs
|
||||
SUBDIRS = \
|
||||
GraphicsViewBenchmark
|
||||
#GraphicsViewBenchmark # FIXME: cannot be compiled by default as part of qtbase,
|
||||
# since it depends on qtsvg
|
||||
|
@ -3,7 +3,7 @@ SUBDIRS = \
|
||||
functional \
|
||||
qgraphicsanchorlayout \
|
||||
qgraphicsitem \
|
||||
qgraphicslayout \
|
||||
#qgraphicslayout \ # FIXME: broken
|
||||
qgraphicsscene \
|
||||
qgraphicsview \
|
||||
qgraphicswidget
|
||||
|
@ -1,4 +1,7 @@
|
||||
load(qttest_p4)
|
||||
|
||||
QT += gui-private
|
||||
|
||||
TEMPLATE = app
|
||||
TARGET = tst_bench_qpixmap
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
load(qttest_p4)
|
||||
|
||||
QT += gui-private
|
||||
|
||||
TEMPLATE = app
|
||||
TARGET = tst_bench_qpainter
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
load(qttest_p4)
|
||||
|
||||
QT += core-private gui-private
|
||||
|
||||
TEMPLATE = app
|
||||
TARGET = tst_qtracebench
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
load(qttest_p4)
|
||||
|
||||
QT += gui-private
|
||||
|
||||
TEMPLATE = app
|
||||
TARGET = tst_bench_QText
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
TEMPLATE = subdirs
|
||||
SUBDIRS = \
|
||||
|
||||
contains(QT_CONFIG,private-tests):SUBDIRS += \
|
||||
qhostinfo
|
||||
|
@ -5,7 +5,7 @@ DEPENDPATH += .
|
||||
INCLUDEPATH += .
|
||||
|
||||
QT -= gui
|
||||
QT += network
|
||||
QT += core-private network network-private
|
||||
|
||||
CONFIG += release
|
||||
|
||||
|
@ -4,7 +4,7 @@ TARGET = tst_bench_opengl
|
||||
DEPENDPATH += .
|
||||
INCLUDEPATH += .
|
||||
|
||||
QT += opengl
|
||||
QT += core-private gui-private opengl opengl-private
|
||||
|
||||
# Input
|
||||
SOURCES += main.cpp
|
||||
|
Loading…
x
Reference in New Issue
Block a user