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] Questions on deployment
Forum Updated to NodeBB v4.3 + New Features

[solved] Questions on deployment

Scheduled Pinned Locked Moved Installation and Deployment
34 Posts 5 Posters 18.8k 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.
  • G Offline
    G Offline
    goetz
    wrote on last edited by
    #25

    Hm, maybe that's better asked as a new topic in the Tools forum.

    http://www.catb.org/~esr/faqs/smart-questions.html

    1 Reply Last reply
    0
    • mzimmersM Offline
      mzimmersM Offline
      mzimmers
      wrote on last edited by
      #26

      Good enough...I'll ask over there. Thanks.

      1 Reply Last reply
      0
      • mzimmersM Offline
        mzimmersM Offline
        mzimmers
        wrote on last edited by
        #27

        Well...here I thought I had this thing solved. Just tried it on a second application (copying over the same files) and...it doesn't run.

        I've looked at the DW log, and it doesn't indicate any missing modules. The program runs OK within Creator. What else besides a missing library might cause the program not to run?

        1 Reply Last reply
        0
        • G Offline
          G Offline
          goetz
          wrote on last edited by
          #28

          That's hard to say without knowing the actual setup. Do you get any error messages from windows?

          http://www.catb.org/~esr/faqs/smart-questions.html

          1 Reply Last reply
          0
          • mzimmersM Offline
            mzimmersM Offline
            mzimmers
            wrote on last edited by
            #29

            Nope. If I double-click on the program from the GUI, it sits for a moment, but does nothing. If I try in invoke from the CLI, I get a prompt back immediately.

            I think I found an issue: I copied my DLLs over from the directory with the program that worked, but according to DW, the two programs expect different libraries. One is from \windows\system32; the other from \windows\syswow64. I'm trying to look into that, but at the moment, Creator is giving me some grief that might be related to my downloading the newest release.

            Guess I should nuke the build directories and start over?

            1 Reply Last reply
            0
            • G Offline
              G Offline
              goetz
              wrote on last edited by
              #30

              Oh - looks like you mixed up 32bit and 64bit libraries and executables. This will lead to disaster - as you've noticed already :)

              http://www.catb.org/~esr/faqs/smart-questions.html

              1 Reply Last reply
              0
              • mzimmersM Offline
                mzimmersM Offline
                mzimmers
                wrote on last edited by
                #31

                I don't know how I did that, though. According to DW, the two programs are using different libraries, but...I don't see any differences in my build settings.

                I could go get the 64-bit libraries for the second program, but I'd rather fix my builds so they use the same ones.

                1 Reply Last reply
                0
                • mzimmersM Offline
                  mzimmersM Offline
                  mzimmers
                  wrote on last edited by
                  #32

                  I deleted and regenerated the build directories...same behavior.

                  I think my comment about \windows\system32 vs. \windows\syswow64 may have been a red herring. When I worked in DW and watched a bit more carefully, I noticed that BOTH programs begin with system32 in the dependency tree, but when I profile, BOTH change to syswow64. (This is odd, but I'm not sure it's related to my issue.) When I refresh, both revert to system32.

                  Both programs show identical dependencies.

                  Both programs have the mingw files MINGWM10.DLL and LIBGCC_S_DW1-2.DLL in their run directories.

                  But, one program runs, and the other doesn't. I'm kind of at a loss to explain this.

                  EDIT:

                  Another data point: I added the files:

                  • libgomp-1.dll
                  • libpthread.a
                  • libstdc++-6.dll

                  to the directory of the malfunctioning program (even though they weren't necessary for the one that works)...same results.

                  1 Reply Last reply
                  0
                  • mzimmersM Offline
                    mzimmersM Offline
                    mzimmers
                    wrote on last edited by
                    #33

                    If anyone's willing to take a look, here's the DW log file after a profile:

                    "profile.txt":http://scopedin.com/data/profile.txt

                    I can't read these tea leaves, but perhaps someone else can.

                    1 Reply Last reply
                    0
                    • mzimmersM Offline
                      mzimmersM Offline
                      mzimmers
                      wrote on last edited by
                      #34

                      Solution discovered, and documented "here.":http://qt-project.org/forums/viewthread/16470/

                      Thanks to everyone who replied.

                      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