Skip to content

Commit

Permalink
Fix RabbitRemoteControl_VERSION_REVISION
Browse files Browse the repository at this point in the history
  • Loading branch information
KangLin committed Apr 28, 2023
1 parent c16a709 commit 951001c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion App/Client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ ADD_TARGET(NAME ${PROJECT_NAME}
ISWINDOWS
VERSION ${RabbitRemoteControl_VERSION}
PRIVATE_DEFINITIONS RabbitRemoteControl_VERSION="${RabbitRemoteControl_VERSION}"
RabbitRemoteControl_VERSION_REVISION="${RabbitRemoteControl_VERSION_REVISION}"
RabbitRemoteControl_REVISION="${RabbitRemoteControl_REVISION}"
SOURCE_FILES ${SOURCE_FILES} ${HEADER_FILES} ${SOURCE_UI_FILES} ${RCC_FILES}
PRIVATE_LIBS Client)

Expand Down
2 changes: 1 addition & 1 deletion App/Client/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ void MainWindow::on_actionAbout_A_triggered()
QPixmap p = icon.pixmap(*sizeList.begin());
about->m_AppIcon = p.toImage();
about->m_szCopyrightStartTime = "2020";
about->m_szVersionRevision = RabbitRemoteControl_VERSION_REVISION;
about->m_szVersionRevision = RabbitRemoteControl_REVISION;
QString szInfo;
szInfo = tr("### Plugin") + "\n";
m_Client.EnumPlugins([&szInfo](const QString& id, CPluginClient* pPlug)->int{
Expand Down
2 changes: 1 addition & 1 deletion App/Service/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ ADD_TARGET(NAME ${PROJECT_NAME}
ISEXE
SOURCE_FILES ${SERVICE_SOURCE_FILES} ${SERVICE_HEADER_FILES} ${SERVICE_UI_FILES} ${RCC_FILES}
PRIVATE_DEFINITIONS RabbitRemoteControl_VERSION="${RabbitRemoteControl_VERSION}"
RabbitRemoteControl_VERSION_REVISION="${RabbitRemoteControl_VERSION_REVISION}"
RabbitRemoteControl_REVISION="${RabbitRemoteControl_REVISION}"
INCLUDE_DIRS
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> # See: http://www.it1352.com/478094.html
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
Expand Down
2 changes: 1 addition & 1 deletion App/ServiceConfigure/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ADD_TARGET(NAME ${PROJECT_NAME}
ISWINDOWS
SOURCE_FILES ${SOURCE_FILES} ${HEADER_FILES} ${SOURCE_UI_FILES} ${RabbitRemoteControlServiceConfigure_RCC_FILES}
PRIVATE_DEFINITIONS RabbitRemoteControl_VERSION="${RabbitRemoteControl_VERSION}"
RabbitRemoteControl_VERSION_REVISION="${RabbitRemoteControl_VERSION_REVISION}"
RabbitRemoteControl_REVISION="${RabbitRemoteControl_REVISION}"
INCLUDE_DIRS
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> # See: http://www.it1352.com/478094.html
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
Expand Down
2 changes: 1 addition & 1 deletion App/ServiceConfigure/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ void CMainWindow::on_actionAbout_triggered()
QPixmap p = icon.pixmap(*sizeList.begin());
about->m_AppIcon = p.toImage();
about->m_szCopyrightStartTime = "2020";
about->m_szVersionRevision = RabbitRemoteControl_VERSION_REVISION;
about->m_szVersionRevision = RabbitRemoteControl_REVISION;
if(about->isHidden())
{
#ifdef BUILD_QUIWidget
Expand Down

0 comments on commit 951001c

Please sign in to comment.