Add switch to select between Qt4 and Qt5

This commit is contained in:
wmayer
2016-12-13 15:53:13 +01:00
parent 6cfaf916f8
commit 743b83e853
28 changed files with 417 additions and 109 deletions

View File

@@ -8,10 +8,20 @@ include_directories(
${XercesC_INCLUDE_DIRS}
)
set(Web_LIBS
FreeCADApp
${QT_LIBRARIES}
)
if(BUILD_QT5)
include_directories(
${Qt5Network_INCLUDE_DIRS}
)
set(Web_LIBS
FreeCADApp
${Qt5Network_LIBRARIES}
)
else()
set(Web_LIBS
FreeCADApp
${QT_LIBRARIES}
)
endif()
set(Web_MOC_HDRS
Server.h