Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F16570005
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
4 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/kdeui/tests/CMakeLists.txt b/kdeui/tests/CMakeLists.txt
index 53b1f1ac60..0564f30137 100644
--- a/kdeui/tests/CMakeLists.txt
+++ b/kdeui/tests/CMakeLists.txt
@@ -1,157 +1,159 @@
set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
add_subdirectory(kconfig_compiler)
include_directories( ${KDE4_KDEUI_INCLUDES} proxymodeltestsuite )
# QtTest needs this in order to include the gui stuff.
# The alternative (which requires Qt>=4.6) is #include <QTestGui>
add_definitions(-DQT_GUI_LIB)
+add_definitions(-DQT_WIDGETS_LIB)
+
MACRO(KDEUI_UNIT_TESTS)
FOREACH(_testname ${ARGN})
kde4_add_unit_test(${_testname} TESTNAME kdeui-${_testname} ${_testname}.cpp)
target_link_libraries(${_testname} ${KDE4_KDEUI_LIBS} ${QT_QTTEST_LIBRARY} ${QT_QTXML_LIBRARY} ${KDEWIN_LIBRARIES} kcoreaddons)
ENDFOREACH(_testname)
ENDMACRO(KDEUI_UNIT_TESTS)
MACRO(KDEUI_EXECUTABLE_TESTS)
FOREACH(_testname ${ARGN})
kde4_add_executable(${_testname} TEST ${_testname}.cpp)
target_link_libraries(${_testname} ${KDE4_KDEUI_LIBS} ${QT_QTTEST_LIBRARY} ${QT_QTXML_LIBRARY} ${KDEWIN_LIBRARIES} kcoreaddons)
ENDFOREACH(_testname)
ENDMACRO(KDEUI_EXECUTABLE_TESTS)
KDEUI_UNIT_TESTS(
kactioncollectiontest
kactioncategorytest
kbuttongrouptest
kcompletioncoretest
kconfigguitest
kconfigskeletontest
kdualactiontest
kfadewidgeteffecttest
kfindtest
kglobalsettingstest
kglobalshortcuttest
kmainwindow_unittest
klineedit_unittest
ktextedit_unittest
kcombobox_unittest
kdialog_unittest
kreplacetest
kshortcuttest
kstandardactiontest
kstandardshortcuttest
kuniqueapptest
kwordwraptest
kapplication_unittest
kcolorutilstest
kxmlgui_unittest
ktimezonewidget_unittest
kiconloader_unittest
ktabwidget_unittest
ktoolbar_unittest
krichtextedittest
kselectaction_unittest
klistwidgetsearchlinetest
ktimecomboboxtest
kdatecomboboxtest
kdatetimeedittest
)
KDEUI_EXECUTABLE_TESTS(
kaccelgentest
kactionselectortest
kanimatedbuttontest
kcharselecttest
kapptest
kassistantdialogtest
kbugreporttest
kcategorizedviewtest
kcodecactiontest
kcolorcollectiontest
kcolordlgtest
kcolorcombotest
kcomboboxtest
kcompletionuitest
kdatepicktest
kdatetabletest
kdatetimewidgettest
kdatewidgettest
kdebugtest_gui
kdialogbuttonboxtest
kdialogtest
keditlistwidgettest
kfontdialogtest
kglobalsettingsclient # helper program for kglobalsettingstest
khboxtest
kiconeffecttest
kicondialogtest
kiconloadertest
kinputdialogtest
kjobtrackerstest
kledtest
klineedittest
kmainwindowtest
kmainwindowrestoretest
kmessageboxtest
kmessagetest
kmodifierkeyinfotest
knewpassworddialogtest
kstatusnotifieritemtest
knotificationrestrictionstest
knuminputtest
kpagedialogtest
kpagewidgettest
kpassivepopuptest
kpassworddialogtest
kpixmapregionselectordialogtest
kpopuptest
kprogressdialogtest
krulertest
kselectactiontest
kseparatortest
kstatusbartest
ksqueezedtextlabeltest
ksystemtraytest
ktabwidgettest
ktextedittest
ktextbrowsertest
ktitlewidgettest
ktoolbartest
ktoolbarlabelactiontest
ktreewidgetsearchlinetest
kwallettest
kwidgetitemdelegatetest
kwindowtest
kxmlguitest
kxmlguiwindowtest
testqtargs
kpixmapsequenceoverlaypaintertest
)
if (NOT KDE_NO_DEPRECATED)
KDEUI_EXECUTABLE_TESTS(
keditlistboxtest
)
endif (NOT KDE_NO_DEPRECATED)
if (Q_WS_X11)
KDEUI_EXECUTABLE_TESTS(
fixx11h_test
fixx11h_test2
kmanagerselectiontest
kxerrorhandlertest
)
target_link_libraries(kmanagerselectiontest ${X11_X11_LIB})
target_link_libraries(kxerrorhandlertest ${X11_X11_LIB})
endif (Q_WS_X11)
## kcolorutilsdemo
SET(kcolorUtilsDemoSources kcolorutilsdemo.cpp kimageframe.cpp ../colors/kcolorspaces.cpp)
kde4_add_ui_files(kcolorUtilsDemoSources kcolorutilsdemo.ui)
kde4_add_executable(kcolorutilsdemo ${kcolorUtilsDemoSources})
target_link_libraries(kcolorutilsdemo ${KDE4_KDEUI_LIBS} ${KDEWIN_LIBRARIES} kcoreaddons )
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Fri, Nov 1, 8:59 AM (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
10075419
Default Alt Text
(4 KB)
Attached To
Mode
rKL kdelibs
Attached
Detach File
Event Timeline
Log In to Comment