Windows application appears blank screen on other computers.



  • 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.

    Source
    Static Compiled Release

    My PC Print
    Another PC Print



  • 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.



  • 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)



  • 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.

    Print

    If I buy the professional version solves the problem?

    Thanks.



  • @Rondog

    See 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



  • 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.



Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.