CMake: Fix tst_qguiapplication test
Test was failing due to missing windows resource files which contain the version information for the executable. Change-Id: I19b0c747c6b833bac64f3667e9286350e7842b7c Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
92ee6dcec0
commit
4753d69d89
@ -8,7 +8,16 @@ endif()
|
||||
## tst_qguiapplication Test:
|
||||
#####################################################################
|
||||
|
||||
# special case begin
|
||||
if (WIN32)
|
||||
set(target_version "1.2.3.4")
|
||||
else()
|
||||
set(target_version "1.2.3")
|
||||
endif()
|
||||
# special case end
|
||||
|
||||
add_qt_test(tst_qguiapplication
|
||||
VERSION ${target_version}
|
||||
SOURCES
|
||||
../../../corelib/kernel/qcoreapplication/tst_qcoreapplication.cpp ../../../corelib/kernel/qcoreapplication/tst_qcoreapplication.h # special case
|
||||
tst_qguiapplication.cpp
|
||||
|
Loading…
x
Reference in New Issue
Block a user