Skip to content

Commit

Permalink
i need to merge this (with failing CIs) to test rock
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Apr 8, 2024
1 parent 68a5013 commit e2abde2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion QOpenHD.pro
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ QT +=core quick qml gui \
widgets
QT += opengl
QT += charts
#QT += gui-private
QT += gui-private
#LIBS += Ldrm

INCLUDEPATH += $$PWD/lib
Expand Down
8 changes: 4 additions & 4 deletions app/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ RESOLVEFUNC(SSL_get1_peer_certificate);
RESOLVEFUNC(EVP_PKEY_get_base_id);
#endif // OPENSSL_VERSION_MAJOR >= 3

//#include <qpa/qplatformnativeinterface.h>
#include <qpa/qplatformnativeinterface.h>
//#include <xf86drm.h>
//#include <xf86drmMode.h>

Expand Down Expand Up @@ -200,7 +200,7 @@ static void android_check_permissions(){
#endif
}

/*static void debug_kms(){
static void debug_kms(){
qDebug()<<"platform name:"<<QGuiApplication::platformName();
if(QGuiApplication::platformName().contains("eglfs", Qt::CaseInsensitive)){
int fd = 0;
Expand Down Expand Up @@ -230,7 +230,7 @@ static void android_check_permissions(){
}else{
qDebug()<<"No eglfs";
}
}*/
}


int main(int argc, char *argv[]) {
Expand Down Expand Up @@ -474,7 +474,7 @@ int main(int argc, char *argv[]) {
MavlinkTelemetry::instance().start();

QRenderStats::instance().register_to_root_window(engine);
//debug_kms();
debug_kms();
LogMessagesModel::instanceGround().addLogMessage("QOpenHD","running");
const int retval = app.exec();
// Terminating needs a bit of special care due to the singleton usage and threads
Expand Down

0 comments on commit e2abde2

Please sign in to comment.