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. Problems running projects
Forum Updated to NodeBB v4.3 + New Features

Problems running projects

Scheduled Pinned Locked Moved General and Desktop
33 Posts 6 Posters 21.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.
  • S Offline
    S Offline
    Scylla
    wrote on last edited by
    #21

    You want to start a application, isn't it? This application you have to load in the dependency walker.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      croussou
      wrote on last edited by
      #22

      Okay, I have loaded the .exe file of my application and this is the output...

      MSVCP71D.DLL (yellow question mark)
      MSVCR71D.DLL (yellow question mark)
      QTCORED4.DLL (red)
      IEFRAME.DLL (red + hourglass)

      By the way, the application doesn't run at all. Both on Qt or from Windows.

      Regards,

      croussou

      1 Reply Last reply
      0
      • G Offline
        G Offline
        giesbert
        wrote on last edited by
        #23

        From Qt? You mean creator!

        As you said you build for windows, which lib wants to include MSVC[P|R]71D.dll ?
        QtCored4.dll is the debug version of Qt. Did you put the libs beside the exe?

        Where is the screen shot of dependency viewer?

        Nokia Certified Qt Specialist.
        Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          ZapB
          wrote on last edited by
          #24

          Is this on the development machine or on some other random machine to which you are trying to deploy your application?

          Nokia Certified Qt Specialist
          Interested in hearing about Qt related work

          1 Reply Last reply
          0
          • C Offline
            C Offline
            croussou
            wrote on last edited by
            #25

            I am implementing and testing my application on the development machine.

            This is the print screen from dependency walker with <filename>.exe loaded.

            !http://img854.imageshack.us/i/dependencywalker.jpg/(DependencyWalkerPrint)!

            And yes, I mean Qt Creator, the damn app won't run in any way.

            I have tested the application on another machine with Qt Creator and it works perfectly.

            Thanks.

            Regards,

            croussou

            1 Reply Last reply
            0
            • Z Offline
              Z Offline
              ZapB
              wrote on last edited by
              #26

              Link or image is missing.

              Nokia Certified Qt Specialist
              Interested in hearing about Qt related work

              1 Reply Last reply
              0
              • C Offline
                C Offline
                croussou
                wrote on last edited by
                #27

                Oh I tested and it works. Open image in new tab.

                Well here is the actual link

                http://img854.imageshack.us/i/dependencywalker.jpg/

                Regards,

                croussou

                1 Reply Last reply
                0
                • Z Offline
                  Z Offline
                  ZapB
                  wrote on last edited by
                  #28

                  OK. Well that shows that QtCore4d.dll cannot be found in the dll search paths. LOcate this dll on your machine and make sure that it is in one of the dirs listed in the %PATH% environment variable.

                  Can you paste the value of the %PATH% env var please. Also where are your QT libs installed?

                  Nokia Certified Qt Specialist
                  Interested in hearing about Qt related work

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    andre
                    wrote on last edited by
                    #29

                    Also, make sure you use the right QtCore4.dll file. The default SDK distribution comes with two versions: one version that is used by the Qt tools itself (build with MSVC, I think), and one that is used for the applications build with these tools, build with MingW32 by default, but overwritten if you build Qt with VS yourself. You are probably going to need the second one. That version is located in QtRoot\qt\bin, where QtRoot is the root directory of your Qt installation, for example c:\Qt\2010.05\

                    The version in QtRoot\bin is the version used for Qt's tools itself, and that one probably will not work.

                    1 Reply Last reply
                    0
                    • C Offline
                      C Offline
                      croussou
                      wrote on last edited by
                      #30

                      This is the Path environment variable...

                      C:\Program Files\PC Connectivity Solution;C:\Program Files\ATI Stream\bin\x86;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;c:\Program Files\Microsoft SQL Server\100\Tools\Binn;c:\Program Files\Microsoft SQL Server\100\DTS\Binn;C:\Qt\2010.05\mingw\bin;C:\Qt\2010.05\qt\bin;*C:\Windows\System32*

                      In bold is the new addition of the QtCored4.dll in the Path environment variable.

                      Libraries are found inside the Qt installation folder itself since I have installed the Qt SDK and not the Frameworks individually. Do you think I should install the 4.7.2 version of Qt libraries (minGW 4.4, 321 MB) instead of the already installed 4.7.0 included with the SDK?

                      Qt libs are installed in C:\Qt\2010.05\lib

                      Regards,

                      croussou

                      1 Reply Last reply
                      0
                      • G Offline
                        G Offline
                        giesbert
                        wrote on last edited by
                        #31

                        you must use the version you linked again or newer.
                        If 4.7.0 is installed on the machine and found by the path before 4.7.2 and you link against 4.7.2, it will not work!the other way round it would work

                        Nokia Certified Qt Specialist.
                        Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

                        1 Reply Last reply
                        0
                        • C Offline
                          C Offline
                          croussou
                          wrote on last edited by
                          #32

                          Nope, nothing. Nothing works. This is just a nightmare going on and on.

                          The final step is to format my computer and install everything again. It was working before so I guess it should be fine.

                          Any final suggestions?

                          Regards,

                          croussou

                          1 Reply Last reply
                          0
                          • C Offline
                            C Offline
                            croussou
                            wrote on last edited by
                            #33

                            Thank you all for your help.

                            I have formatted my computer and reinstalled everything from the beginning. Now everything works fine with Qt Creator. I have already started developing my application.

                            However, I can still not run the application in Windows, meaning the extension .exe, I can't really understand what is causing this. I am happy though that at least the IDE works and maybe I will deal with this problem on a later stage.

                            Again, thank you so much all.

                            Regards,

                            croussou

                            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