Skip to content

Commit

Permalink
check between Qt4/Qt5 build in cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Dec 23, 2016
1 parent de9aa48 commit d3ff517
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Mod/Sandbox/Gui/CMakeLists.txt
Expand Up @@ -31,7 +31,11 @@ set(SandboxGui_MOC_HDRS
fc_wrap_cpp(SandboxGui_MOC_SRCS ${SandboxGui_MOC_HDRS})
SOURCE_GROUP("Moc" FILES ${SandboxGui_MOC_SRCS})

if(BUILD_QT5)
qt5_add_resources(Resource_SRCS Resources/Sandbox.qrc)
else()
qt4_add_resources(Resource_SRCS Resources/Sandbox.qrc)
endif()
SET(Resource_SRCS
${Resource_SRCS}
Resources/Sandbox.qrc
Expand Down

0 comments on commit d3ff517

Please sign in to comment.