mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-08 01:06:16 +00:00
1d6683f3e0
The reason for that is, even if profile widget is made with qpainter and for that reason it should be a desktop widget, it's being used on the mobile version because of a lack of QML plotting library that is fast and reliable. We discovered that it was faster just to encapsulate our Profile in a QML class and call it directly. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
19 lines
No EOL
486 B
CMake
19 lines
No EOL
486 B
CMake
# the profile widget
|
|
set(SUBSURFACE_PROFILE_LIB_SRCS
|
|
profilewidget2.cpp
|
|
diverectitem.cpp
|
|
divepixmapitem.cpp
|
|
divelineitem.cpp
|
|
divetextitem.cpp
|
|
animationfunctions.cpp
|
|
divecartesianaxis.cpp
|
|
diveprofileitem.cpp
|
|
diveeventitem.cpp
|
|
divetooltipitem.cpp
|
|
ruleritem.cpp
|
|
tankitem.cpp
|
|
)
|
|
source_group("Subsurface Profile" FILES ${SUBSURFACE_PROFILE_LIB_SRCS})
|
|
|
|
add_library(subsurface_profile STATIC ${SUBSURFACE_PROFILE_LIB_SRCS})
|
|
target_link_libraries(subsurface_profile ${QT_LIBRARIES}) |