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. Failed to start on other machine..

Failed to start on other machine..

Scheduled Pinned Locked Moved Installation and Deployment
15 Posts 3 Posters 4.0k 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.
  • N Offline
    N Offline
    nostrora
    wrote on last edited by
    #1

    Hello,

    My computer for compilation : Windows 7 SP1 x86-64 - Mingw 4.8 32 bits - Qt 5.0.1
    Get from the online installer

    I compile the exemple menu and i work very well on my computer.

    I put all the dll and i double click on menus.exe. And he work very well!

    But, i copy all folder on another machine (Windows 7) And he said "Microsoft Visual C++ Runtime library"

    This application has requested the runtime to terminate it in an unusual way"

    Why ? Thanks you

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Did you follow the "deployment guide":http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html to ensure you have all the dlls required (platform, plugins etc... ) ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nostrora
        wrote on last edited by
        #3

        Yes, i have all the dll and plugin.
        I have read the deployment guide

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          From the error message you seem to have a dependency on the MSVC runtime, do you also have these dlls in the folder ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • N Offline
            N Offline
            nostrora
            wrote on last edited by
            #5

            yes, and it does not change anything.
            In addition to visual c + + redistributable is installed

            1 Reply Last reply
            0
            • N Offline
              N Offline
              nostrora
              wrote on last edited by
              #6

              And if I install Qt on the machine where it does not work. it works after install qt 5.0.1 online installer

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Did you check the version of the redistributable ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • N Offline
                  N Offline
                  nostrora
                  wrote on last edited by
                  #8

                  I have reinstall visual C++ 2012 redistribuable. and i don't have any message.. but my app does nothing
                  Open and directly closed (no window)

                  In my computer is work ! :'(

                  And with Qt 4 is work on any computer
                  Problem with Qt 5 ;'(

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    Without any error message ?

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • N Offline
                      N Offline
                      nostrora
                      wrote on last edited by
                      #10

                      no, any error

                      1 Reply Last reply
                      0
                      • N Offline
                        N Offline
                        nostrora
                        wrote on last edited by
                        #11

                        i need qt.conf file ??

                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #12

                          Not if you have all the dlls in the right place

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0
                          • ? Offline
                            ? Offline
                            A Former User
                            wrote on last edited by
                            #13

                            Just a question. You said you:

                            bq. reinstall visual C++ 2012 redistribuable

                            could there be a dependency to some other C++ redistributable? like Visual C++ 2010 ? or even an earlier version?

                            1 Reply Last reply
                            0
                            • N Offline
                              N Offline
                              nostrora
                              wrote on last edited by
                              #14

                              No, I compile with Visual C + + 2012 update 3
                              I have a Windows XP test. and I just installed Visual C + + 2012 redistribuable update 3.
                              and it works
                              My problem was dlls plugins / platforms
                              Before I put "plugins" in the root. Now I put "platforms" to the root

                              Sorry for my bad english

                              1 Reply Last reply
                              0
                              • ? Offline
                                ? Offline
                                A Former User
                                wrote on last edited by
                                #15

                                bq. Sorry for my bad english

                                No problem. I'm also not native english ;-)
                                Good that it works now.

                                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