Page MenuHomePhorge

No OneTemporary

diff --git a/tier1/itemmodels/autotests/CMakeLists.txt b/tier1/itemmodels/autotests/CMakeLists.txt
index 77b3aad7bd..952cb42bfc 100644
--- a/tier1/itemmodels/autotests/CMakeLists.txt
+++ b/tier1/itemmodels/autotests/CMakeLists.txt
@@ -1,38 +1,38 @@
SET(proxyModelTestSources
kselectionproxymodeltestsuite.cpp
)
remove_definitions(-DQT_NO_CAST_TO_ASCII)
remove_definitions(-DQT_NO_CAST_FROM_ASCII)
remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY)
-find_package(Qt5Transitional REQUIRED Test)
+find_package(Qt5Transitional REQUIRED Test Gui)
enable_testing()
add_subdirectory(proxymodeltestsuite)
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../src
${CMAKE_CURRENT_BINARY_DIR}/../src
${CMAKE_CURRENT_SOURCE_DIR}/proxymodeltestsuite
${CMAKE_CURRENT_BINARY_DIR}/proxymodeltestsuite
)
MACRO(ITEMMODELS_PROXYMODEL_TESTS)
FOREACH(_testname ${ARGN})
add_executable(${_testname} ${_testname}.cpp ${proxyModelTestSources} )
add_test(itemmodels-${_testname} ${_testname})
target_link_libraries(${_testname} itemmodels ${QT_QTTEST_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTCORE_LIBRARY} ${QT_QTXML_LIBRARY} proxymodeltestsuite )
ENDFOREACH(_testname)
ENDMACRO()
ITEMMODELS_PROXYMODEL_TESTS(
kdescendantsproxymodeltest
kselectionproxymodeltest
testmodelqueuedconnections
)
add_subdirectory(proxymodeltestapp)

File Metadata

Mime Type
text/x-diff
Expires
Fri, Nov 1, 9:02 AM (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
10075467
Default Alt Text
(1 KB)

Event Timeline