Adds initial intermediate qt6 porting state
This commit is contained in:
11247 files changed
+1891537
No files matched your search
@@ -0,0 +1,50 @@
|
||||
# QtSingleApplication solution from
|
||||
# http://qt.nokia.com/products/appdev/add-on-products/catalog/4/Utilities/qtsingleapplication
|
||||
# LGPL
|
||||
|
||||
SET(qtsapp_common_SRCS
|
||||
qtlocalpeer.cpp
|
||||
qtlocalpeer.h
|
||||
)
|
||||
NGL_ADD_LIBRARY(WS AAR SV qtsa_common STATIC ${qtsapp_common_SRCS})
|
||||
NGL_TARGET_LINK_LIBRARIES(qtsa_common
|
||||
PUBLIC
|
||||
Qt5::Network
|
||||
Qt5::Core
|
||||
)
|
||||
|
||||
SET(qtsapp_SRCS
|
||||
qtsingleapplication.cpp
|
||||
qtsingleapplication.h
|
||||
|
||||
)
|
||||
NGL_ADD_LIBRARY(WS qtsingleapplication SHARED ${qtsapp_SRCS})
|
||||
NGL_INSTALL_TARGET(qtsingleapplication)
|
||||
NGL_TARGET_INCLUDE_DIRECTORIES(qtsingleapplication
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/..
|
||||
)
|
||||
NGL_TARGET_LINK_LIBRARIES(qtsingleapplication
|
||||
PRIVATE
|
||||
qtsa_common
|
||||
PUBLIC
|
||||
Qt5::Core
|
||||
Qt5::Widgets
|
||||
)
|
||||
|
||||
SET(qtscoreapp_SRCS
|
||||
qtsinglecoreapplication.h
|
||||
qtsinglecoreapplication.cpp
|
||||
)
|
||||
NGL_ADD_LIBRARY(AAR SV qtsinglecoreapplication SHARED ${qtscoreapp_SRCS})
|
||||
NGL_INSTALL_TARGET(qtsinglecoreapplication)
|
||||
NGL_TARGET_INCLUDE_DIRECTORIES(qtsinglecoreapplication
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/..
|
||||
)
|
||||
NGL_TARGET_LINK_LIBRARIES(qtsinglecoreapplication
|
||||
PRIVATE
|
||||
qtsa_common
|
||||
PUBLIC
|
||||
Qt5::Core
|
||||
)
|
||||
Reference in new issue
Block a user