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. Why is my QT application not working ?
Forum Updated to NodeBB v4.3 + New Features

Why is my QT application not working ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 5 Posters 280 Views 1 Watching
  • 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.
  • X Offline
    X Offline
    xerio78
    wrote last edited by
    #1

    I built a Qt 5 application using Qt Creator on Windows 7 64 bit (using msvc 2010). The application runs perfectly on my computer but it won't work on other computers.

    I copied all the .dlls which were shown as missing in Dependency Walker into the program folder and there is no error, but the apps just won't run.

    I've tested it on Windows XP and Windows 7 64 and 32 bit.
    What can I do in order to find out what's wrong?

    UPDATE: i installed Qt 4.8.4 (vs 2008) and msvc 2008 express and i compiled it and it's runs on other computers, with the .dlls of Qt4. maybe someone know what the problem with Qt5...

    Thanks you

    JonBJ 1 Reply Last reply
    0
    • X xerio78

      I built a Qt 5 application using Qt Creator on Windows 7 64 bit (using msvc 2010). The application runs perfectly on my computer but it won't work on other computers.

      I copied all the .dlls which were shown as missing in Dependency Walker into the program folder and there is no error, but the apps just won't run.

      I've tested it on Windows XP and Windows 7 64 and 32 bit.
      What can I do in order to find out what's wrong?

      UPDATE: i installed Qt 4.8.4 (vs 2008) and msvc 2008 express and i compiled it and it's runs on other computers, with the .dlls of Qt4. maybe someone know what the problem with Qt5...

      Thanks you

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote last edited by JonB
      #2

      @xerio78 said in Why is my QT application not working ?:

      I copied all the .dlls which were shown as missing in Dependency Walker into the program folder and there is no error, but the apps just won't run.

      Simply put, this is way too error prone. Don't try to do it manually, use proper deployment to install your software. That is why there are tools like win/linuxdeployqt. Please also read Deploying Qt Applications.

      As for you (apparently) changing to use Qt4, don't. Qt5 is already old, we are on Qt6, Qt4 is a long time ago. And may have bugs even if it runs.

      X S 2 Replies Last reply
      3
      • X Offline
        X Offline
        xerio78
        wrote last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • Amy BrooksA Offline
          Amy BrooksA Offline
          Amy Brooks
          Banned
          wrote last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • Christian EhrlicherC Christian Ehrlicher referenced this topic
          • JonBJ JonB

            @xerio78 said in Why is my QT application not working ?:

            I copied all the .dlls which were shown as missing in Dependency Walker into the program folder and there is no error, but the apps just won't run.

            Simply put, this is way too error prone. Don't try to do it manually, use proper deployment to install your software. That is why there are tools like win/linuxdeployqt. Please also read Deploying Qt Applications.

            As for you (apparently) changing to use Qt4, don't. Qt5 is already old, we are on Qt6, Qt4 is a long time ago. And may have bugs even if it runs.

            X Offline
            X Offline
            xerio78
            wrote last edited by
            #5

            @JonB Thanks for the advice. I’ll check out windeployqt for Qt5 and review the deployment documentation. I only tested with Qt4 to troubleshoot, but I’ll stick with Qt5 (and possibly look into Qt6) going forward.

            1 Reply Last reply
            1
            • JonBJ JonB

              @xerio78 said in Why is my QT application not working ?:

              I copied all the .dlls which were shown as missing in Dependency Walker into the program folder and there is no error, but the apps just won't run.

              Simply put, this is way too error prone. Don't try to do it manually, use proper deployment to install your software. That is why there are tools like win/linuxdeployqt. Please also read Deploying Qt Applications.

              As for you (apparently) changing to use Qt4, don't. Qt5 is already old, we are on Qt6, Qt4 is a long time ago. And may have bugs even if it runs.

              S Offline
              S Offline
              SamiV123
              wrote last edited by SamiV123
              #6

              @JonB said in Why is my QT application not working ?:

              And may have bugs even if it runs.

              Bet it has less bugs than Qt6

              In general this kind of attitude "it's old" is really annoying.

              Software doesn't rust or decay or physically wear out. There's NO REASON to run on this endless update this, then update that then update this again because updating that broke this treadmill doing USELESS BUSYWORK.

              People actually have more meaningful things to do than waste days in useless update cycles.

              Developers should really LEARN TO DO BETTER.

              JonBJ 1 Reply Last reply
              0
              • S SamiV123

                @JonB said in Why is my QT application not working ?:

                And may have bugs even if it runs.

                Bet it has less bugs than Qt6

                In general this kind of attitude "it's old" is really annoying.

                Software doesn't rust or decay or physically wear out. There's NO REASON to run on this endless update this, then update that then update this again because updating that broke this treadmill doing USELESS BUSYWORK.

                People actually have more meaningful things to do than waste days in useless update cycles.

                Developers should really LEARN TO DO BETTER.

                JonBJ Offline
                JonBJ Offline
                JonB
                wrote last edited by
                #7

                @SamiV123
                Qt 4.8.4 was released in 2012. The compiler was apparently 2008. That order of time ago is significant. It is not just a matter of "endless updates".

                Also the OP says the app was developed for Qt5 but he used Qt4 to get it working on some other machine. I merely said there might be issues not initially apparent.

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SamiV123
                  wrote last edited by
                  #8

                  "Qt 4.8.4 was released in 2012. The compiler was apparently 2008. That order of time ago is significant."

                  Ok, did it break? Got rusty and turned into dust? :)

                  ODБOïO 1 Reply Last reply
                  0
                  • S SamiV123

                    "Qt 4.8.4 was released in 2012. The compiler was apparently 2008. That order of time ago is significant."

                    Ok, did it break? Got rusty and turned into dust? :)

                    ODБOïO Offline
                    ODБOïO Offline
                    ODБOï
                    wrote last edited by
                    #9

                    @SamiV123 said in Why is my QT application not working ?:

                    "Qt 4.8.4 was released in 2012. The compiler was apparently 2008. That order of time ago is significant."

                    Ok, did it break? Got rusty and turned into dust? :)

                    You’re turning this into a Reddit-level back-and-forth :)
                    Qt4 is a decade past its time — unless you’re stuck with legacy requirements, you should be using Qt5 or Qt6.

                    1 Reply Last reply
                    1

                    • Login

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