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

uncomment the debug_kms stuff, not needed anymore #685

Merged
merged 1 commit into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 debug_kms(){
}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
Loading