|
|
@ -1,15 +1,13 @@ |
|
|
|
cmake_minimum_required(VERSION 3.5) |
|
|
|
cmake_minimum_required(VERSION 3.5) |
|
|
|
|
|
|
|
project(QtXlsx LANGUAGES CXX) |
|
|
|
|
|
|
|
#引入Qt中的private模块 |
|
|
|
#set(Qt5Gui_PRIVATE_INCLUDE_DIRS "C:/DevelopEnv/Qt/5.15.2/mingw81_64/include/Qt5Gui/5.15.2/QtGui" "${_qt5Gui_install_prefix}/include/QtCore/${Qt5Gui_VERSION_STRING}/QtCore") |
|
|
|
#include_directories("C:/DevelopEnv/Qt/5.15.2/mingw81_64/include/QtCore") |
|
|
|
#include_directories("C:/DevelopEnv/Qt/5.15.2/mingw81_64/include/QtCore/5.15.2") |
|
|
|
include_directories("C:/DevelopEnv/Qt/5.15.2/mingw81_64/include/QtCore/5.15.2/QtCore") |
|
|
|
#include_directories("C:/DevelopEnv/Qt/5.15.2/mingw81_64/include/QtGui") |
|
|
|
#include_directories("C:/DevelopEnv/Qt/5.15.2/mingw81_64/include/QtGui/5.15.2") |
|
|
|
include_directories("C:/DevelopEnv/Qt/5.15.2/mingw81_64/include/QtGui/5.15.2/QtGui") |
|
|
|
include_directories(${CMAKE_PREFIX_PATH}/include/QtCore) |
|
|
|
include_directories(${CMAKE_PREFIX_PATH}/include/QtCore/5.15.2) |
|
|
|
include_directories(${CMAKE_PREFIX_PATH}/include/QtCore/5.15.2/QtCore) |
|
|
|
include_directories(${CMAKE_PREFIX_PATH}/include/QtGui) |
|
|
|
include_directories(${CMAKE_PREFIX_PATH}/include/QtGui/5.15.2) |
|
|
|
include_directories(${CMAKE_PREFIX_PATH}/include/QtGui/5.15.2/QtGui) |
|
|
|
|
|
|
|
set(CMAKE_AUTOUIC ON) |
|
|
|
set(CMAKE_AUTOMOC ON) |
|
|
@ -36,4 +34,4 @@ add_library(${PROJECT_NAME} STATIC |
|
|
|
target_link_libraries(${PROJECT_NAME} |
|
|
|
Qt5::Core |
|
|
|
Qt5::Gui |
|
|
|
) |
|
|
|
) |
|
|
|