Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate source to Qt6 #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

Antony007
Copy link

Changelog:

  • Replace setSceneGraphBackend to setGraphicsApi
  • Fix XML Reader complication issue under Qt6
  • Update OpenGL references to Qt6 OpenGL module
  • Update qml files to use new Qt6 qml modules
  • Fix compilation issues with forward declarations under Qt6
  • Fix improper use of std::unique_ptr with QMutexLocker
  • Removed Qt5 support due to conflicting modules in Qt5 and Qt6

Build Environment

OS: Ubuntu 24.10
Qt Version: 6.6.2
GCC version: 14

Instructions

Packages required for compiling under Ubuntu:

Qt

  • qt6-base-dev
  • qt6-declarative-dev
  • qt6-serialport-dev

QML

  • qml6-module-qtquick-controls
  • qml6-module-qtquick-dialogs
  • qml6-module-qt-labs-settings
  • qml6-module-qtquick-window
  • qml6-module-qt-labs-folderlistmodel

Packages required for running under Ubuntu:

  • qt6-base
  • qt6-serialport
  • qml6-module-qtquick-controls
  • qml6-module-qtquick-dialogs
  • qml6-module-qt-labs-settings
  • qml6-module-qtquick-window
  • qml6-module-qt-labs-folderlistmodel

How to build (Ubuntu 24.10)

Install all the packages in Ubuntu using sudo apt install <package-name>
Install qtcreator using sudo apt install qtcreator
Open KoggerApp.pro file and select Qt6 kit
Click Build

How to run (Ubuntu 24.10)

Install all the packages in Ubuntu using sudo apt install <package-name>
Download and extract the file KoggerApp.zip
Set executable permission. eg. sudo chmod +x KoggerApp or sudo chmod 777 KoggerApp
Run the app. eg. ./KoggerApp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant