1 reference link
qt – Rectangle element is not displayed – Stack Overflow
(122 messages) when QML starts on the development board, a white screen appears (two loading modes of QML)_ xi__ Q’s column CSDN blog
(122 messages) about the solution to the problem that the stackview cannot be displayed (white screen) on the target machine (customized Ubuntu) when QML is migrated from Ubuntu development_ Changsha red fat network technology (original name: Red Imitation workshop) – CSDN blog
2 best practices
main.cpp
#include <QGuiApplication>
#include <QQuickView>
int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);
QQuickView engine(QUrl(QStringLiteral("qrc:/main.qml")));
engine.show();
return app.exec();
}
Master.qml
import QtQuick 2.0
Rectangle {
width: 100
height: 100
color: "red"
}
Read More:
- OpenGL result white screen solution
- Vue project reports an error on ie11 white screen. Script1002: syntax error
- VC Critical error detected c0000374 crash problem and solution
- Solution of flash screen caused by OpenGL in MFC environment
- 1 vs20152017 + OpenGL to configure and draw a white rectangle
- MFC flash screen solution
- Linux use ls to view the file color is all white solution, and Linux file color introduction
- Endnote inserting documents causes word to crash! ! Solution
- Windows solution enabled visdom.server Slow and blank blue screen (no navigation bar)
- Alpine Linux executable file crash report error / lib / x86 not found_ 64 Linux GNU / libc.so solution
- The solution of default boot device missing or boot failed appears on the blue screen of Lenovo xiaoxinchao 7000
- Solution to “An error occurred while loading the archive” appears when decompressing the rar file compressed package
- Solution of grub loading error 17
- Android gets the height and width of the screen
- On the problem of QT program open crash
- Solution to Linux error loading mirror speeds from cached hostfile
- Screen Overlay Detected
- Asynchronous loading JS does not allow the use of document write solution
- How to Solve Arduino IDE Crash Issue
- GPU hardware acceleration related problems, solve flash screen