Move qt-ui to desktop-widgets
Since we have now destkop and mobile versions, 'qt-ui' was a very poor name choice for a folder that contains only destkop-enabled widgets. Also, move the graphicsview-common.h/cpp to subsurface-core because it doesn't depend on qgraphicsview, it merely implements all the colors that we use throughout Subsurface, and we will use colors on both desktop and mobile versions Same thing applies for metrics.h/cpp Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
committed by
Dirk Hohndel
parent
588abd019f
commit
e49d6213ad
@@ -37,10 +37,10 @@ set(CMAKE_MODULE_PATH
|
||||
include_directories(.
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}/qt-ui
|
||||
qt-ui
|
||||
${CMAKE_BINARY_DIR}/desktop-widgets
|
||||
desktop-widgets/
|
||||
qt-models
|
||||
qt-ui/profile
|
||||
desktop-widgets/profile
|
||||
subsurface-core/
|
||||
)
|
||||
|
||||
@@ -362,7 +362,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND NOT ANDROID)
|
||||
set(SUBSURFACE_LINK_LIBRARIES ${SUBSURFACE_LINK_LIBRARIES} -lpthread)
|
||||
endif()
|
||||
|
||||
add_subdirectory(qt-ui)
|
||||
add_subdirectory(desktop-widgets)
|
||||
|
||||
# create the executables
|
||||
if(SUBSURFACE_MOBILE)
|
||||
|
||||
Reference in New Issue
Block a user