Windows application appears blank screen on other computers.
-
wrote on 8 Jul 2015, 04:51 last edited by
Good evening.
I'm trying to compile a simple application with quickcontrols in my computer works normally but when sent to another, it opens a blank screen. As can be seen in prints opens the application on other computers, but it's like the QML not carry, but in my computer works normally.
I'm using the static version of Qt with mingw64, adquerido by MSYS2.
Thanks.
-
wrote on 8 Jul 2015, 10:31 last edited by
Is it possible you statically linked files you should not have (like kernel32.dll or user32.dll). These should be considered unique on each computer.
-
wrote on 8 Jul 2015, 11:27 last edited by Jeroen3 7 Aug 2015, 11:28
Try running it in the Qt command prompt.
If it works there, you're missing dependencies.(it works here, but I have Qt in PATH)
-
wrote on 8 Jul 2015, 19:19 last edited by
There is no solution to the problem? Only acquiring the commercial version of Qt? I tested it on my pc, I removed the QT paths, mingw, just let the operating system (System32) and it works. It seems that the other computers he does not think the QML resource. What I want is not having to install anything on other computers, enough the Qt libraries that have to include.
Follows the print of depency walker on another computer.
If I buy the professional version solves the problem?
Thanks.
-
Is it possible you statically linked files you should not have (like kernel32.dll or user32.dll). These should be considered unique on each computer.
wrote on 8 Jul 2015, 22:52 last edited bySee the error:
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QOpenGLShader: could not create shader
shader compilation failed:
""
QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QOpenGLShader: could not create shader
shader compilation failed:
""
QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked -
wrote on 9 Jul 2015, 07:01 last edited by
You could compile into a single exe. But that requires commercial license.
Most people just combine the exe with Qt dll's.
These can be found here, note that *.d.dll are for debug.
C:\Qt\Qt5.4.1\5.4\mingw491_32\bin
For my version at least.
1/6