Skip to content

Commit

Permalink
Don't specify version number as octal
Browse files Browse the repository at this point in the history
  • Loading branch information
chriadam committed Feb 6, 2024
1 parent e323824 commit 778ec58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ cmake_minimum_required(VERSION 3.24) # earlier versions of cmake don't handle 'q
cmake_policy(SET CMP0071 NEW) # process GENERATED source files in AUTOMOC and AUTOUIC. Added to silence a cmake warning.
cmake_policy(SET CMP0079 NEW)

project(venus-gui-v2 LANGUAGES CXX VERSION 0.02.08)
project(venus-gui-v2 LANGUAGES CXX VERSION 0.2.8)
add_definitions(-DPROJECT_VERSION_MAJOR=${PROJECT_VERSION_MAJOR} -DPROJECT_VERSION_MINOR=${PROJECT_VERSION_MINOR} -DPROJECT_VERSION_PATCH=${PROJECT_VERSION_PATCH} )

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
9 changes: 1 addition & 8 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@
#include "src/backendconnection.h"
#include "src/frameratemodel.h"

#include "veutil/qt/ve_qitem.hpp"
#include "veutil/qt/ve_quick_item.hpp"
#include "veutil/qt/ve_qitem_table_model.hpp"
#include "veutil/qt/ve_qitem_sort_table_model.hpp"
#include "veutil/qt/ve_qitem_child_model.hpp"
#include "veutil/qt/firmware_updater_data.hpp"

#if defined(VENUS_WEBASSEMBLY_BUILD)
#include <emscripten/html5.h>
#include <emscripten/val.h>
Expand Down Expand Up @@ -219,7 +212,7 @@ void initBackend(bool *enableFpsCounter)

int main(int argc, char *argv[])
{
qInfo("Victron gui version: v%d.%d.%d", PROJECT_VERSION_MAJOR, PROJECT_VERSION_MINOR, PROJECT_VERSION_PATCH);
qInfo().nospace() << "Victron gui version: v" << PROJECT_VERSION_MAJOR << "." << PROJECT_VERSION_MINOR << "." << PROJECT_VERSION_PATCH;

#if !defined(VENUS_WEBASSEMBLY_BUILD)
// The qt vkb behaves in an annoying manner in qt6.5.2 wasm builds (but not other versions).
Expand Down

0 comments on commit 778ec58

Please sign in to comment.