Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [Solved] My program will only run on some computers
Forum Updated to NodeBB v4.3 + New Features

[Solved] My program will only run on some computers

Scheduled Pinned Locked Moved Installation and Deployment
14 Posts 3 Posters 3.3k 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.
  • S Offline
    S Offline
    skammers
    wrote on last edited by
    #1

    Hey!

    I have developed a program in Qt. I have built an exe file for it and it has worked fine on several computers. Today when the program was tried on another computer it wouldnt start. Nothing came up. Not in the processor chart or anything. I have put all required *.dll files and other with the exe file on deployment.

    What can be the problem? Could it be related to 32 bit vs 64 bit?

    I dont think it is related to any libraries etc missing since it starts on most computers.

    Please help

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      Your question is very open and does not give enough specifics.

      Obviously you have an application for windows which will obviously run only on windows, but not on Linux or Mac.

      If you have 64 bit application you cannot start on 32 bit installations. However, I would expect an error message.

      Old computers may not have enough RAM and cannot load.

      Probably you should check with depends that you really have all dlls.

      Sometimes it helps to start application from cmd for getting error messages.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • S Offline
        S Offline
        skammers
        wrote on last edited by
        #3

        Im sorry for my vague description.
        The computer I am trying to run my application on is 64 bit as well. Linux and Mac is not relevant for now. My program is 32 bit so it should work fine.
        Also, it is a relatively new computer. Same as mine, and all the others I've tried out. So I guess thats not the issue.

        Tried adding all *.dll files and folders from this tutorial: http://qt-project.org/wiki/Deploy_an_Application_on_Windows, and didnt remove any of them. Still didnt work.

        Tried running the program from cmd on my computer and it worked perfectly.
        Went to the other computer and did the same, no errors, but it wouldnt show/start.

        Is my problem any clearer?

        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          Hi,

          If you are using Qt Quick, your target computer will need OpenGL 2.0 or higher unless you also used ANGLE.

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • S Offline
            S Offline
            skammers
            wrote on last edited by
            #5

            Thanks! I used Qt Quick, but not ANGLE! Is it possible for me to just open my pro file (or similar) in ANGLE and rebuild it or something?

            1 Reply Last reply
            0
            • JKSHJ Offline
              JKSHJ Offline
              JKSH
              Moderators
              wrote on last edited by
              #6

              [quote author="skammers" date="1407238942"]Is it possible for me to just open my pro file (or similar) in ANGLE and rebuild it or something?[/quote]Sort of :) Just download a non-OpenGL version of Qt, and use that to build your project.

              ANGLE is a library that converts OpenGL functions to DirectX functions. See here for details: http://qt-project.org/wiki/Qt-5-on-Windows-ANGLE-and-OpenGL

              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

              1 Reply Last reply
              0
              • S Offline
                S Offline
                skammers
                wrote on last edited by
                #7

                Thanks!
                So I tried downloading this version : Qt 5.3.1 for Windows 32-bit (VS 2013, 559 MB) (Info).
                Got this error:
                :-1: error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.

                So far I understand I need to download MSVC2013? Which I cant find..

                1 Reply Last reply
                0
                • JKSHJ Offline
                  JKSHJ Offline
                  JKSH
                  Moderators
                  wrote on last edited by
                  #8

                  Yes, you need the compiler that matches your version of the libraries.

                  You can get Visual Studio 2013 Express from Microsoft's website.

                  Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    skammers
                    wrote on last edited by
                    #9

                    Is it free?

                    1 Reply Last reply
                    0
                    • JKSHJ Offline
                      JKSHJ Offline
                      JKSH
                      Moderators
                      wrote on last edited by
                      #10

                      Yes, the Express version is free.

                      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        skammers
                        wrote on last edited by
                        #11

                        Thanks! Now downloaded it and installed it. Weird thing is that when I try to build my program I get errors that some of the header files are missing. When I try to build the program like I used to I dont get these errors...Why is that? Sorry if I'm a slow learner, but you're very helpful now!

                        Thanks

                        1 Reply Last reply
                        0
                        • JKSHJ Offline
                          JKSHJ Offline
                          JKSH
                          Moderators
                          wrote on last edited by
                          #12

                          What is the exact error message?

                          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                          1 Reply Last reply
                          0
                          • S Offline
                            S Offline
                            skammers
                            wrote on last edited by
                            #13

                            These four:
                            -c:\qt\sommerjobb - tomra\transed\Source\languagelist.h:3: error: C1083: Cannot open include file: 'langitmodel.h': No such file or directory

                            -C:\Qt\Sommerjobb - Tomra\TransEd\Source\languagelist.h:3: error: C1083: Cannot open include file: 'langitmodel.h': No such file or directory

                            -C:\Qt\Sommerjobb - Tomra\TransEd\Source\masterresource.cpp:12: error: C1083: Cannot open include file: 'JlCompress.h': No such file or directory

                            -C:\Qt\Sommerjobb - Tomra\TransEd\Source\languagelist.h:3: error: C1083: Cannot open include file: 'langitmodel.h': No such file or directory

                            1 Reply Last reply
                            0
                            • S Offline
                              S Offline
                              skammers
                              wrote on last edited by
                              #14

                              I found the error: i did this
                              @#include "languagelist.h"
                              #include <langitmodel.h>@
                              instead of this:
                              @#include "languagelist.h"
                              #include "langitmodel.h"@

                              1 Reply Last reply
                              0

                              • Login

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