Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
6.2.0
-
None
Description
Hello everyone!
I made some playing with QT6, but I wasn't very satisfied with the results. I have just small rectangle on the screen instead of Label. Same results for OpenGL and linuxfb.
#include <QApplication> #include <QWidget> #include <QHBoxLayout> #include <QLabel> int main(int argc, char** argv) { QApplication app(argc, argv); QWidget window; QLabel *label = new QLabel("CCP!", 0); QHBoxLayout *layout = new QHBoxLayout(); layout->addWidget(label); window.setLayout(layout); window.show(); return app.exec(); }
export QT_QPA_EGLFS_KMS_CONFIG=/etc/qt6/eglfs_kms_cfg.json export QT_QPA_EGLFS_INTEGRATION=eglfs_kms export QT_QPA_EGLFS_ALWAYS_SET_MODE=1 ./qHelloLabel -platform eglfs
How to get it working?
Regards,
Andy
// Sidenote: QT5 works fine