dialogbuttons compilable

This commit is contained in:
Rick Vogel 2022-09-29 00:21:22 +02:00
parent ab86fb0468
commit 2c666f6126
3 changed files with 29 additions and 19 deletions

View File

@ -33,8 +33,7 @@ add_subdirectory(qmlexport)
add_subdirectory(tools) add_subdirectory(tools)
add_subdirectory(support) add_subdirectory(support)
add_subdirectory(examples) add_subdirectory(examples)
#TODO add_subdirectory(playground)
#add_subdirectory(playground)
#TODO #TODO
#OTHER_FILES = #OTHER_FILES =

View File

@ -1,16 +1,15 @@
TEMPLATE = subdirs #add_subdirectory(anchors)
#add_subdirectory(dials)
add_subdirectory(dialogbuttons)
#add_subdirectory(invoker)
#add_subdirectory(inputpanel)
#add_subdirectory(images)
#add_subdirectory(shadows)
SUBDIRS += anchors dials dialogbuttons invoker inputpanel images if(TARGET Qt5::WebEngine) # TODO check how to add optionally
#add_subdirectory(webview)
endif()
SUBDIRS += if(TARGET Qt5::QuickWidgets) # TODO check how to add optionally
shadows #add_subdirectory(grids)
endif()
qtHaveModule(webengine){
SUBDIRS += webview
}
qtHaveModule(quickwidgets)
{
SUBDIRS += grids
}

View File

@ -1,8 +1,20 @@
CONFIG += qskexample set(TARGET_NAME qskexample)
list(APPEND TARGET_HEADERS list(APPEND TARGET_HEADERS
Window.h Window.h)
list(APPEND TARGET_SOURCES list(APPEND TARGET_SOURCES
Window.cpp Window.cpp
main.cpp main.cpp)
add_executable(${TARGET_NAME} ${TARGET_SOURCES} ${TARGET_HEADERS})
target_link_libraries(${TARGET_NAME}
PRIVATE
qskinny
qsktestsupport)
set_target_properties(${TARGET_NAME}
PROPERTIES
AUTOMOC ON
FOLDER examples)