开发者

QtQuick, QML-based application contents invisible

开发者 https://www.devze.com 2023-04-03 22:22 出处:网络
I have created a simple QtQuick application in QtCreator (based on QtSDK 4.7.3), which builds successfully and runs from within the QtCreator IDE without any problems.

I have created a simple QtQuick application in QtCreator (based on QtSDK 4.7.3), which builds successfully and runs from within the QtCreator IDE without any problems.

The problem: When I try to run the same application manually from the file-system, it shows empty (white开发者_StackOverflow中文版) background only.

  • A assume that all needed library dependencies are resolved properly - without that the application wouldn't even run.
  • I'm targeting Desktop and I compile in both: Windows and Ubuntu environments (QtDSK 4.7.3 on both).
  • Compiler: MinGW 4.4.

Can anyone please spot what the problem is?


Check the location of your qml files, they should be accessible to the binary executable.

0

精彩评论

暂无评论...
验证码 换一张
取 消