<commit_before>find_package( Qt5 REQUIRED Quick Widgets QuickWidgets )
find_package( KF5 REQUIRED Declarative Config KCMUtils Parts WindowSystem )

# find_package(KDevPlatform 1.0.2)
# if(KDevPlatform_FOUND)
#     include_directories(${KDEVPLATFORM_INCLUDE_DIR})
# endif(KDevPlatform_FOUND)
# 
# add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})

add_subdirectory(icons)

set(gluoncreator_SRCS
    main.cpp
    mainwindow.cpp

    dialogs/configdialog.cpp
    dialogs/welcomewindow.cpp
    intro/dockeroverlay.cpp
)

kconfig_add_kcfg_files(gluoncreator_SRCS config/gluoncreatorsettings.kcfgc)
#kde4_add_app_icon(gluoncreator_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/hi*-app-gluon_creator.png")
gluon_add_executable(gluoncreator 
    SOURCES ${gluoncreator_SRCS}
    LIBRARIES Gluon::Creator Qt5::Quick Qt5::QuickWidgets KF5::Declarative KF5::ConfigCore KF5::ConfigWidgets KF5::KCMUtils KF5::Parts KF5::WindowSystem
)

install(FILES
    ui/gluoncreatorui.rc
    icons/gluon-creator-splash.png

    DESTINATION ${SHARE_INSTALL_DIR}/gluoncreator
    COMPONENT gluoncreator
)

install(FILES
    config/gluoncreatorsettings.kcfg

    DESTINATION ${SHARE_INSTALL_DIR}/config.kcfg
    COMPONENT gluoncreator
)

install(FILES
    gluon-creator.desktop

    DESTINATION  ${SHARE_INSTALL_DIR}/applications
    COMPONENT gluoncreator
)

install(FILES<commit_msg>apps/creator: Remove obsolete KDeclarative dependency<commit_after>find_package( Qt5 REQUIRED Quick Widgets QuickWidgets )
find_package( KF5 REQUIRED Config KCMUtils Parts WindowSystem )

# find_package(KDevPlatform 1.0.2)
# if(KDevPlatform_FOUND)
#     include_directories(${KDEVPLATFORM_INCLUDE_DIR})
# endif(KDevPlatform_FOUND)
# 
# add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})

add_subdirectory(icons)

set(gluoncreator_SRCS
    main.cpp
    mainwindow.cpp

    dialogs/configdialog.cpp
    dialogs/welcomewindow.cpp
    intro/dockeroverlay.cpp
)

kconfig_add_kcfg_files(gluoncreator_SRCS config/gluoncreatorsettings.kcfgc)
#kde4_add_app_icon(gluoncreator_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/hi*-app-gluon_creator.png")
gluon_add_executable(gluoncreator 
    SOURCES ${gluoncreator_SRCS}
    LIBRARIES Gluon::Creator Qt5::Quick Qt5::QuickWidgets KF5::ConfigCore KF5::ConfigWidgets KF5::KCMUtils KF5::Parts KF5::WindowSystem
)

install(FILES
    ui/gluoncreatorui.rc
    icons/gluon-creator-splash.png

    DESTINATION ${SHARE_INSTALL_DIR}/gluoncreator
    COMPONENT gluoncreator
)

install(FILES
    config/gluoncreatorsettings.kcfg

    DESTINATION ${SHARE_INSTALL_DIR}/config.kcfg
    COMPONENT gluoncreator
)

install(FILES
    gluon-creator.desktop

    DESTINATION  ${SHARE_INSTALL_DIR}/applications
    COMPONENT gluoncreator
)

install(FILES
{'fraction_non_alphanumeric': 0.08599779492833518, 'fraction_numerical': 0.01065784638000735, 'mean_word_length': 5.908629441624366, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4793825', 'n_tokens_mistral': 1097, 'n_tokens_neox': 1025, 'n_words': 131}