File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 5454 brew install ninja pkg-config
5555 - name : build macos
5656 env :
57- Qt5_DIR : ../Qt/${{matrix.qt_ver}}/${{matrix.qt_arch}}
57+ Q65_DIR : ../Qt/${{matrix.qt_ver}}/${{matrix.qt_arch}}
5858 run : |
5959 cmake . \
6060 -GNinja \
@@ -67,11 +67,11 @@ jobs:
6767 # tag 打包
6868 - name : package
6969 env :
70- Qt5_DIR : ../Qt/${{matrix.qt_ver}}/${{matrix.qt_arch}}
70+ Qt6_DIR : ../Qt/${{matrix.qt_ver}}/${{matrix.qt_arch}}
7171 run : |
7272 # 拷贝依赖
7373 #mv ${targetName} ${targetName}.app
74- export PATH=$Qt5_DIR /bin:$PATH
74+ export PATH=$Qt6_DIR /bin:$PATH
7575 macdeployqt ${targetName}.app -qmldir=. -verbose=1 -dmg
7676 - name : Upload artifact
7777 uses : actions/upload-artifact@v2-preview
Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ endif()
248248
249249target_include_directories (lemon PUBLIC ${CMAKE_SOURCE_DIR} /src)
250250
251- if (WIN32 AND ENABLE_XLS_EXPORT NOT LEMON_QT6)
251+ if (WIN32 AND ENABLE_XLS_EXPORT AND NOT LEMON_QT6)
252252 find_package (${LEMON_QT_LIBNAME} COMPONENTS AxContainer REQUIRED)
253253 list (APPEND LEMON_QT_LIBS ${LEMON_QT_LIBNAME} ::AxContainer)
254254 add_definitions (-DENABLE_XLS_EXPORT)
Original file line number Diff line number Diff line change 1- 110
1+ 112
You can’t perform that action at this time.
0 commit comments