Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Windows application appears blank screen on other computers.

Windows application appears blank screen on other computers.

Scheduled Pinned Locked Moved General and Desktop
qtquick2qmlresourcesstatic qt
6 Posts 3 Posters 3.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dan Rosen
    wrote on 8 Jul 2015, 04:51 last edited by
    #1

    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

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Rondog
      wrote on 8 Jul 2015, 10:31 last edited by
      #2

      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.

      D 1 Reply Last reply 8 Jul 2015, 22:52
      0
      • J Offline
        J Offline
        Jeroen3
        wrote on 8 Jul 2015, 11:27 last edited by Jeroen3 7 Aug 2015, 11:28
        #3

        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)

        1 Reply Last reply
        0
        • D Offline
          D Offline
          Dan Rosen
          wrote on 8 Jul 2015, 19:19 last edited by
          #4

          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.

          1 Reply Last reply
          0
          • R Rondog
            8 Jul 2015, 10:31

            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.

            D Offline
            D Offline
            Dan Rosen
            wrote on 8 Jul 2015, 22:52 last edited by
            #5

            @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

            1 Reply Last reply
            0
            • J Offline
              J Offline
              Jeroen3
              wrote on 9 Jul 2015, 07:01 last edited by
              #6

              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 Reply Last reply
              0

              1/6

              8 Jul 2015, 04:51

              • Login

              • Login or register to search.
              1 out of 6
              • First post
                1/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved