SARibbon icon indicating copy to clipboard operation
SARibbon copied to clipboard

Support Qt5 while building with cmake

Open thegoodtgg opened this issue 2 years ago • 1 comments

in CMakeLists.txt find_package(Qt6 COMPONENTS Core Widgets GUI) if (NOT Qt6_FOUND) find_package(Qt5 5.15 REQUIRED COMPONENTS Core Widgets GUI) set(Qt_VERSION_MAJOR 5) else() set(Qt_VERSION_MAJOR 5) endif()

in src/SARibbonBar/CMakeLists.txt target_link_libraries(${LIB_NAME} Qt${QT_VERSION_MAJOR}::Widgets)

thegoodtgg avatar Jul 20 '22 10:07 thegoodtgg

Any idea why CMakeLists.txt is consistently spelled CMakelists.txt in the repo?

FelixBer avatar Sep 02 '22 21:09 FelixBer

have been added CMakeLists.txt in project,you can compile using cmake

czyt1988 avatar Apr 06 '23 16:04 czyt1988