mirror of
https://github.com/x-tools-author/x-tools.git
synced 2025-09-15 15:28:40 +08:00
chore: update files of project
This commit is contained in:
parent
ac1c98d8bc
commit
36a375ef19
@ -102,8 +102,10 @@ macro(sak_import_module src_dir_name)
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
sak_import_module("canbusstudio")
|
||||
sak_import_module("modbusstudio")
|
||||
if(NOT Qt6_VERSION VERSION_LESS "6.5.0")
|
||||
sak_import_module("canbusstudio")
|
||||
sak_import_module("modbusstudio")
|
||||
endif()
|
||||
|
||||
# QtSwissArmyKnife)
|
||||
include_directories(src)
|
||||
@ -137,15 +139,16 @@ if(APP_EABLE_ASSISTANTS)
|
||||
add_subdirectory(${CMAKE_SOURCE_DIR}/src/assistants)
|
||||
endif()
|
||||
|
||||
if(NOT Qt6_VERSION VERSION_LESS "6.5.0")
|
||||
option(APP_EABLE_CANBUSSTUDIO "Enable to build CANBusStudio." ON)
|
||||
if(APP_EABLE_CANBUSSTUDIO)
|
||||
add_subdirectory(${CMAKE_SOURCE_DIR}/src/canbusstudio)
|
||||
endif()
|
||||
|
||||
option(APP_EABLE_MODBUSSTUDIO "Enable to build ModbusStudio." ON)
|
||||
if(APP_EABLE_MODBUSSTUDIO)
|
||||
add_subdirectory(${CMAKE_SOURCE_DIR}/src/modbusstudio)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# For Qt6.4 and later.
|
||||
if(QT_VERSION_MAJOR EQUAL 6 AND QT_VERSION_MINOR GREATER_EQUAL 4)
|
||||
|
||||
@ -112,7 +112,7 @@ SAKMainWindow::SAKMainWindow(QWidget* parent)
|
||||
|
||||
QString title = QString("Qt Swiss Army Knife");
|
||||
#ifndef SAK_IMPORT_MODULE_PRIVATE
|
||||
QString title = tr("(Community)");
|
||||
title.append(tr("(Community)"));
|
||||
#endif
|
||||
title.append(QString(" "));
|
||||
title.append(QString("v"));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user