Browse Source

Install the TDE integration library (libtqtkde) into TQt

plugins directory, instead of the TDE plugins directory.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/36/head
Slávek Banko 3 months ago
parent
commit
9d6d2fd57f
Signed by: Slávek Banko <slavek.banko@axis.cz> GPG Key ID: 608F5293A04BE668

+ 9
- 1
tqt3integration/CMakeLists.txt View File

@@ -9,6 +9,14 @@
#
#################################################


##### configure checks ##########################

include( ConfigureChecks.cmake )


##### subdirectories ############################

add_subdirectory( libtqtkde )
add_subdirectory( module )
add_subdirectory( utils )
add_subdirectory( utils )

+ 20
- 0
tqt3integration/ConfigureChecks.cmake View File

@@ -0,0 +1,20 @@
#################################################
#
# (C) 2019 Slávek Banko
# slavek (DOT) banko (AT) axis.cz
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################


##### check for tqt plugins dir #################

execute_process(
COMMAND ${PKG_CONFIG_EXECUTABLE}
tqt-mt --variable=pluginsdir
OUTPUT_VARIABLE TQT_PLUGINS_DIR
OUTPUT_STRIP_TRAILING_WHITESPACE
)

+ 1
- 1
tqt3integration/libtqtkde/CMakeLists.txt View File

@@ -30,5 +30,5 @@ tde_add_library( tqtkde SHARED AUTOMOC
VERSION 0.0.0
LINK tdeui-shared
DEPENDENCIES generate_tqt3_bindings
DESTINATION "${PLUGIN_INSTALL_DIR}/plugins/integration/"
DESTINATION "${TQT_PLUGINS_DIR}/integration/"
)

+ 1
- 1
tqt3integration/utils/tqt/in/tqtkdeintegration_x11_0.cpp.cmake View File

@@ -1 +1 @@
#define TQTKDELIBDIR @PLUGIN_INSTALL_DIR@/plugins/integration
#define TQTKDELIBDIR @TQT_PLUGINS_DIR@/integration

Loading…
Cancel
Save