Commit 4b978de6 authored by LEFEBVREJP email's avatar LEFEBVREJP email
Browse files

Only supporting numberpadwidget in Qt5 builds.

parent 0df3809a
Pipeline #14176 passed with stages
in 7 minutes and 35 seconds
......@@ -23,7 +23,11 @@ TRIBITS_SUBPACKAGE(widgets)
SET(HEADERS
tabwidget.hh
tableview.hh
numberpadwidget.hh
)
# C/C++ source
SET(SOURCES
tabwidget.cc
tableview.cc
)
#
# Moc the header files
......@@ -38,6 +42,12 @@ IF(USE_QT4)
# ${RESOURCE_FILES}
#)
ELSE()
SET(HEADERS
${HEADERS}
numberpadwidget.hh)
SET(SOURCES
${SOURCES}
numberpadwidget.cc)
QT5_WRAP_CPP(MOC_FILES
${HEADERS}
)
......@@ -47,12 +57,6 @@ ELSE()
# ${RESOURCE_FILES}
#)
ENDIF()
# C/C++ source
SET(SOURCES
tabwidget.cc
tableview.cc
numberpadwidget.cc
)
##---------------------------------------------------------------------------##
## PACKAGE TARGETS AND INSTALL
......
......@@ -21,6 +21,10 @@ ELSE()
QT5_WRAP_CPP(QMOC_FILES3
radixnumberpadwidget.hh
)
TRIBITS_ADD_EXECUTABLE(radixnumberpadwidget
NOEXEPREFIX
SOURCES radixnumberpadwidget.cc ${QMOC_FILES3}
)
ENDIF()
TRIBITS_ADD_EXECUTABLE(radixtabwidget
NOEXEPREFIX
......@@ -32,7 +36,3 @@ TRIBITS_ADD_EXECUTABLE(radixtablewidget
SOURCES radixtablewidget.cc ${QMOC_FILES2}
)
TRIBITS_ADD_EXECUTABLE(radixnumberpadwidget
NOEXEPREFIX
SOURCES radixnumberpadwidget.cc ${QMOC_FILES3}
)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment