diff options
Diffstat (limited to 'kglib')
| -rw-r--r-- | kglib/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | kglib/TGlibEventLoop.h | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/kglib/CMakeLists.txt b/kglib/CMakeLists.txt index 293a09e75..0d229cabe 100644 --- a/kglib/CMakeLists.txt +++ b/kglib/CMakeLists.txt @@ -16,6 +16,8 @@ include_directories( link_directories( ${TQT_LIBRARY_DIRS} + ${GLIB2_LIBRARY_DIRS} + ${GOBJECT2_LIBRARY_DIRS} ) @@ -32,6 +34,7 @@ install( FILES tde_add_library( kglib SHARED SOURCES TGlibEventLoop.cpp VERSION 0.0.0 - LINK ${TQT_LIBRARIES} ${GLIB2_LIBRARIES} ${GOBJECT2_LIBRARIES} + LINK ${TQT_LIBRARIES} + LINK_PRIVATE ${GLIB2_LIBRARIES} ${GOBJECT2_LIBRARIES} DESTINATION ${LIB_INSTALL_DIR} ) diff --git a/kglib/TGlibEventLoop.h b/kglib/TGlibEventLoop.h index 3576cb50d..14ef0d702 100644 --- a/kglib/TGlibEventLoop.h +++ b/kglib/TGlibEventLoop.h @@ -25,11 +25,7 @@ Boston, MA 02110-1301, USA. #include <tqeventloop.h> -#ifdef USE_QT3 - #define GLIB_EVENT_LOOP TGlibEventLoop glibEventLoop; -#else - #define GLIB_EVENT_LOOP -#endif +#define GLIB_EVENT_LOOP TGlibEventLoop glibEventLoop; class TGlibEventLoop : public TQEventLoop { |
