Qt6 (#669)
* 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 --------- Co-authored-by: RTUnreal <unreal@rtinf.net>
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
#include "ovr_application_wrapper.h"
|
||||
#include <QtLogging>
|
||||
#include <QtDebug>
|
||||
constexpr uint32_t bufferLen = 4096;
|
||||
namespace ovr_application_wrapper
|
||||
{
|
||||
@@ -12,9 +14,8 @@ std::string getSceneAppID()
|
||||
std::string keys = key;
|
||||
if ( error != vr::VRApplicationError_None )
|
||||
{
|
||||
LOG( WARNING ) << "Could not Get App ID by PID: "
|
||||
+ std::to_string( error );
|
||||
LOG( WARNING ) << "Attempting to find through Enumeration";
|
||||
qWarning() << "Could not Get App ID by PID: " + std::to_string( error );
|
||||
qWarning() << "Attempting to find through Enumeration";
|
||||
auto appCount = vr::VRApplications()->GetApplicationCount();
|
||||
const uint32_t bufferMax = vr::k_unMaxApplicationKeyLength;
|
||||
char cStringOut[bufferMax];
|
||||
@@ -25,17 +26,17 @@ std::string getSceneAppID()
|
||||
std::string appID( cStringOut );
|
||||
if ( appID.find( "steam.app" ) != std::string::npos )
|
||||
{
|
||||
LOG( WARNING ) << "Found App ID through Enumeration (only "
|
||||
"steam apps caught): "
|
||||
<< appID;
|
||||
qWarning() << "Found App ID through Enumeration (only "
|
||||
"steam apps caught): "
|
||||
<< appID;
|
||||
if ( error2 == vr::VRApplicationError_None )
|
||||
{
|
||||
return appID;
|
||||
}
|
||||
LOG( WARNING ) << "Error getting app id via Enum: " << error2;
|
||||
qWarning() << "Error getting app id via Enum: " << error2;
|
||||
}
|
||||
}
|
||||
LOG( ERROR ) << "Unable to Find App ID by PID or by Enumeration";
|
||||
qCritical() << "Unable to Find App ID by PID or by Enumeration";
|
||||
return "error";
|
||||
}
|
||||
return keys;
|
||||
|
||||
Reference in New Issue
Block a user