-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgraded code to Qt 6. Some cleaning in CMake files.
- Loading branch information
Showing
34 changed files
with
211 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
cmake_minimum_required(VERSION 3.8) | ||
cmake_minimum_required(VERSION 3.16) | ||
|
||
include(ExternalProject) | ||
|
||
project(qwt NONE) | ||
|
||
ExternalProject_Add(qwt | ||
PREFIX qwt | ||
SVN_REPOSITORY https://svn.code.sf.net/p/qwt/code/branches/qwt-6.1/ | ||
CONFIGURE_COMMAND ${QT_QMAKE_EXECUTABLE} ${CMAKE_BINARY_DIR}/qwt/qwt/src/qwt/qwt.pro | ||
GIT_REPOSITORY https://git.code.sf.net/p/qwt/git | ||
GIT_TAG 9e554a5e03bc3a1fe379bdddfa4d21ced2ed7995 | ||
CONFIGURE_COMMAND qmake ${CMAKE_BINARY_DIR}/qwt/qwt/src/qwt/qwt.pro | ||
INSTALL_COMMAND "" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
project(common) | ||
|
||
set(${PROJECT_NAME}_SOURCES | ||
set(SOURCES | ||
Configuration.cpp | ||
Configuration.h | ||
Constants.cpp | ||
DatasetUtilities.cpp | ||
TimeLogger.cpp | ||
FileUtilities.cpp | ||
) | ||
|
||
set(HEADERS | ||
Configuration.h | ||
Constants.h | ||
ColumnTag.h | ||
DatasetUtilities.cpp | ||
DatasetUtilities.h | ||
TimeLogger.cpp | ||
TimeLogger.h | ||
FileUtilities.cpp | ||
FileUtilities.h | ||
) | ||
) | ||
|
||
ADD_LIBRARY(${PROJECT_NAME} STATIC ${${PROJECT_NAME}_SOURCES}) | ||
ADD_LIBRARY(${PROJECT_NAME} STATIC ${SOURCES} ${HEADERS}) | ||
|
||
target_link_libraries(${PROJECT_NAME} shared Qt5::Core) | ||
target_link_libraries(${PROJECT_NAME} shared Qt6::Core) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
project(datasets) | ||
|
||
set(${PROJECT_NAME}_SOURCES | ||
set(SOURCES | ||
Dataset.cpp | ||
Dataset.h | ||
DatasetOds.cpp | ||
DatasetOds.h | ||
DatasetXlsx.cpp | ||
DatasetXlsx.h | ||
DatasetInner.cpp | ||
DatasetInner.h | ||
DatasetSpreadsheet.cpp | ||
) | ||
|
||
set(HEADERS | ||
Dataset.h | ||
DatasetOds.h | ||
DatasetXlsx.h | ||
DatasetInner.h | ||
DatasetSpreadsheet.h | ||
) | ||
) | ||
|
||
ADD_LIBRARY(${PROJECT_NAME} STATIC ${${PROJECT_NAME}_SOURCES}) | ||
ADD_LIBRARY(${PROJECT_NAME} STATIC ${SOURCES} ${HEADERS}) | ||
|
||
target_link_libraries(${PROJECT_NAME} eible shared common Qt5::Core Qt5::Xml) | ||
target_link_libraries(${PROJECT_NAME} eible shared common Qt6::Core Qt6::Xml QuaZip::QuaZip) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.