draft: upgrade codebase to qt6 and cmake (#657)

* update qt6 upgrade progress

* add flawed addition for QRenderTarget and link needed libs

* update to better logging format

* move many assets and qml files into qrc

* get rid of deprecation messages

* remove additional deprecation notices

* make Qt6 finally render on desktop with some progress on vr

* initialize QRhi with QQuickRenderControl

* use default values to stop SegFaults

* fix compilation on windows

* add windows files for aiding in running exe

* fix formatting of testing qt.conf

* first attempt on using textures instead of files in AudioTabController

* Fix public/private access issue

* use getter instead of directly accessing class members

* use QImage as a base to set overlay textures

* use native  logging

* add more QImage Overlays

* implement faulty vulkan implementation

---------

Co-authored-by: ykeara <ykeara1@gmail.com>
This commit is contained in:
RTUnreal
2024-05-01 15:19:36 -05:00
committed by GitHub
co-authored by ykeara
parent ca0ec3e07d
commit 383f153c54
15 changed files with 234 additions and 247 deletions
@@ -3,6 +3,7 @@
#include <QObject>
#include <QTime>
#include <QImage>
#include <openvr.h>
#include <memory>
#include "src/keyboard_input/keyboard_input.h"
@@ -29,6 +30,7 @@ private:
unsigned settingsUpdateCounter = 0;
std::array<std::unique_ptr<QImage>, 6> m_batteryImgs;
vr::VROverlayHandle_t m_batteryOverlayHandles[vr::k_unMaxTrackedDeviceCount]
= { 0 };
int m_batteryState[vr::k_unMaxTrackedDeviceCount];