blob: 3761dd84262b63e85b5d96614eaa179cffd9993b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
cmake_minimum_required(VERSION 3.10)
project(DefinesTest)
# Qt4 only definitions test
if(NOT QT_TEST_VERSION EQUAL 4)
message(ERROR "Invalid Qt test version. This test is for Qt4 only.")
endif()
find_package(Qt4 REQUIRED)
add_executable(DefinesTest defines_test.cpp)
set_target_properties(DefinesTest PROPERTIES AUTOMOC TRUE)
target_link_libraries(DefinesTest Qt4::QtGui)
|