diff options
author | gregory guy <g-gregory@gmx.fr> | 2019-06-27 16:35:25 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-06-27 16:35:25 +0200 |
commit | d4a1613e9f119ae68c695ab60f8d9856d1a54a52 (patch) | |
tree | 6de888ef76667e28c81832dc104c19b158859b9b /kig/filters | |
parent | 9fb4e1ccde0b89b413bfdc8ae62f8178ecad5483 (diff) | |
download | tdeedu-d4a1613e9f119ae68c695ab60f8d9856d1a54a52.tar.gz tdeedu-d4a1613e9f119ae68c695ab60f8d9856d1a54a52.zip |
Conversion to the cmake building system.
Add includes to UI files to resolve FTBFS.
Signed-off-by: gregory guy <g-gregory@gmx.fr>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kig/filters')
-rw-r--r-- | kig/filters/CMakeLists.txt | 41 | ||||
-rw-r--r-- | kig/filters/drgeo-filter-chooserbase.ui | 9 | ||||
-rw-r--r-- | kig/filters/imageexporteroptionsbase.ui | 7 |
3 files changed, 48 insertions, 9 deletions
diff --git a/kig/filters/CMakeLists.txt b/kig/filters/CMakeLists.txt new file mode 100644 index 00000000..35ded394 --- /dev/null +++ b/kig/filters/CMakeLists.txt @@ -0,0 +1,41 @@ +#add_subdirectory( tests ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### kigfilters (static) + +tde_add_library( kigfilters STATIC_PIC AUTOMOC + + SOURCES + imageexporteroptionsbase.ui + latexexporteroptions.ui + svgexporteroptions.ui + drgeo-filter-chooserbase.ui + cabri-filter.cc + exporter.cc + filter.cc + filters-common.cc + imageexporteroptions.cc + kgeo-filter.cc + kseg-filter.cc + latexexporter.cc + native-filter.cc + svgexporter.cc + drgeo-filter.cc + drgeo-filter-chooser.cc + + LINK + kigmisc-static +) diff --git a/kig/filters/drgeo-filter-chooserbase.ui b/kig/filters/drgeo-filter-chooserbase.ui index 3cc334eb..303c2273 100644 --- a/kig/filters/drgeo-filter-chooserbase.ui +++ b/kig/filters/drgeo-filter-chooserbase.ui @@ -132,9 +132,8 @@ Please select which to import:</string> </vbox> </widget> <layoutdefaults spacing="6" margin="11"/> -<includehints> - <includehint>tdelistbox.h</includehint> - <includehint>kpushbutton.h</includehint> - <includehint>kpushbutton.h</includehint> -</includehints> +<includes> + <include location="global" impldecl="in implementation">kpushbutton.h</include> + <include location="global" impldecl="in implementation">tdelistbox.h</include> +</includes> </UI> diff --git a/kig/filters/imageexporteroptionsbase.ui b/kig/filters/imageexporteroptionsbase.ui index 2a9156bf..330f1326 100644 --- a/kig/filters/imageexporteroptionsbase.ui +++ b/kig/filters/imageexporteroptionsbase.ui @@ -145,8 +145,7 @@ </vbox> </widget> <layoutdefaults spacing="6" margin="11"/> -<includehints> - <includehint>knuminput.h</includehint> - <includehint>knuminput.h</includehint> -</includehints> +<includes> + <include location="global" impldecl="in implementation">knuminput.h</include> +</includes> </UI> |