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) ...@@ -23,7 +23,11 @@ TRIBITS_SUBPACKAGE(widgets)
SET(HEADERS SET(HEADERS
tabwidget.hh tabwidget.hh
tableview.hh tableview.hh
numberpadwidget.hh )
# C/C++ source
SET(SOURCES
tabwidget.cc
tableview.cc
) )
# #
# Moc the header files # Moc the header files
...@@ -38,6 +42,12 @@ IF(USE_QT4) ...@@ -38,6 +42,12 @@ IF(USE_QT4)
# ${RESOURCE_FILES} # ${RESOURCE_FILES}
#) #)
ELSE() ELSE()
SET(HEADERS
${HEADERS}
numberpadwidget.hh)
SET(SOURCES
${SOURCES}
numberpadwidget.cc)
QT5_WRAP_CPP(MOC_FILES QT5_WRAP_CPP(MOC_FILES
${HEADERS} ${HEADERS}
) )
...@@ -47,12 +57,6 @@ ELSE() ...@@ -47,12 +57,6 @@ ELSE()
# ${RESOURCE_FILES} # ${RESOURCE_FILES}
#) #)
ENDIF() ENDIF()
# C/C++ source
SET(SOURCES
tabwidget.cc
tableview.cc
numberpadwidget.cc
)
##---------------------------------------------------------------------------## ##---------------------------------------------------------------------------##
## PACKAGE TARGETS AND INSTALL ## PACKAGE TARGETS AND INSTALL
......
...@@ -21,6 +21,10 @@ ELSE() ...@@ -21,6 +21,10 @@ ELSE()
QT5_WRAP_CPP(QMOC_FILES3 QT5_WRAP_CPP(QMOC_FILES3
radixnumberpadwidget.hh radixnumberpadwidget.hh
) )
TRIBITS_ADD_EXECUTABLE(radixnumberpadwidget
NOEXEPREFIX
SOURCES radixnumberpadwidget.cc ${QMOC_FILES3}
)
ENDIF() ENDIF()
TRIBITS_ADD_EXECUTABLE(radixtabwidget TRIBITS_ADD_EXECUTABLE(radixtabwidget
NOEXEPREFIX NOEXEPREFIX
...@@ -32,7 +36,3 @@ TRIBITS_ADD_EXECUTABLE(radixtablewidget ...@@ -32,7 +36,3 @@ TRIBITS_ADD_EXECUTABLE(radixtablewidget
SOURCES radixtablewidget.cc ${QMOC_FILES2} SOURCES radixtablewidget.cc ${QMOC_FILES2}
) )
TRIBITS_ADD_EXECUTABLE(radixnumberpadwidget
NOEXEPREFIX
SOURCES radixnumberpadwidget.cc ${QMOC_FILES3}
)
Markdown is supported
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