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. [SOLVED] Qt Creator - Can't release always debug && Entry point not found in QtGui4.dll
QtWS25 Last Chance

[SOLVED] Qt Creator - Can't release always debug && Entry point not found in QtGui4.dll

Scheduled Pinned Locked Moved General and Desktop
24 Posts 3 Posters 14.9k Views
  • 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #3

    Hi,

    Do you have a CONFIG += debug line somewhere in your project ?

    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
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #4

      I have filed a "bug report":https://bugreports.qt-project.org/browse/QTCREATORBUG-9972 on the issue. You may want to add more specifics if you have any.

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

      1 Reply Last reply
      0
      • E Offline
        E Offline
        Elfayer
        wrote on last edited by
        #5

        "Try rerunning qmake for the project."

        How do I do that ? In Qt Creator ?

        "Do you have a CONFIG += debug line somewhere in your project ?"

        You mean in my .pro ? In my .pro, I only have the SOURCES and the HEADERS.

        "I have filed a bug report"

        Thanks :)

        1 Reply Last reply
        0
        • E Offline
          E Offline
          Elfayer
          wrote on last edited by
          #6

          Ok, sounds better, I've changed the "debug" to "release" manually in Qt creator > Projects, Compilation steps, QMake configuration for compiling.

          Now, qmake call :

          qmake.exe C:...\test.pro -r -spec win32-msvc2010 "CONFIG+=release" "CONFIG+=declarative_debug"

          But I still have an issue : The enter point of the program is not found :

          "?doItemsLayout@TableView@@UAEXXZ is not found in the dynamic library QtGui4.dll".

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

            You can rerun qmake in the projects pane which should be left to your editor window. You can go to the project and right click.
            You will see a new pull-down window showing several entries like:
            @
            Set <your project> as Active Project"
            Build
            Run qmake
            Deploy
            Run
            Rebuild
            Clean
            ...
            @

            "Run qmake" is what I meant.

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

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

              [quote author="Elfayer" date="1376295640"]
              qmake.exe C:...\test.pro -r -spec win32-msvc2010 "CONFIG+=release" "CONFIG+=declarative_debug"
              [/quote]

              "CONFIG+=declarative_debug" should not be in there for a release mode compilation. It should be present only for debug mode compilations.

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

              1 Reply Last reply
              0
              • E Offline
                E Offline
                Elfayer
                wrote on last edited by
                #9

                Here is what I have so far :
                http://imagesup.org/images11/1376304102-compilationconfig.png
                !http://imagesup.org/images11/1376304102-compilationconfig.png(pic1)!
                bq. You can go to the project and right click.

                And sorry, I didn't understand where you wanted me to right click.

                1 Reply Last reply
                0
                • E Offline
                  E Offline
                  Elfayer
                  wrote on last edited by
                  #10

                  I got this files in my release directory :

                  !http://imagesup.org/images11/1376311990-releasefiles.png(pic1)!

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

                    You can display pictures directly in your post by using the "picture button.":http://qt-project.org/wiki/ForumHelp#b642e0c67b7a32cc0b833ea119693dce

                    I have updated the picture links for you.

                    See this picture below with the Projects pane. The project has a grey bar in background in this case. Place mouse cursor above and right click, you should see a menu opening:
                    !http://db.tt/g45v2Esd(pic)!

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

                    1 Reply Last reply
                    0
                    • E Offline
                      E Offline
                      Elfayer
                      wrote on last edited by
                      #12

                      bq. You can display pictures directly in your post

                      I first did, but the picture is going in front of the profile.

                      Ok, i've finally found and "run qmake". But the problem persist, I still have the error :
                      “The entry point of procedure ?doItemsLayout@TableView@@UAEXXZ is not found in the dynamic library QtGui4.dll”

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

                        Hmmm...

                        Looks like a mix up of dlls. Do you have several Qt versions on your machine?
                        How do you start in release mode? Through creator?

                        Saw your reference to mingwm10.dll in your first post. Do you mix mingw and msvc compilations?
                        That is not going to work for sure. The binaries are not compatible. Also you cannot mix between versions of the same compiler (within versions of msvc or within versions of mingw).

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

                        1 Reply Last reply
                        0
                        • E Offline
                          E Offline
                          Elfayer
                          wrote on last edited by
                          #14

                          You can see the parameters of my compilation above. I guess by the following picture that I have two versions of Qt and I'm compiling with Qt Creator.

                          bq. Saw your reference to mingwm10.dll in your first post. Do you mix mingw and msvc compilations?

                          Sorry, I don't know.

                          !http://img4.hostingpics.net/pics/750639compilationInfo.png(info)!

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

                            Those are the ones assigned to your project.

                            Go to "Tools"->"options"->"Build&Run" there you find the different "Qt versions", "Compilers" and "Kits" recognized by Qt creator.

                            For your project handling you should do a complete rebuild of the project. Same place as you found "Run qmake" there should be "Clean" and "Rebuild". It would be good enough to run rebuild, but clean before does not hurt.

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

                            1 Reply Last reply
                            0
                            • E Offline
                              E Offline
                              Elfayer
                              wrote on last edited by
                              #16

                              bq. Go to “Tools“>“options”>“Build&Run” there you find the different “Qt versions”, “Compilers” and “Kits” recognized by Qt creator.

                              !http://img11.hostingpics.net/pics/946888compileOptions.png(compileInfo)!

                              bq. For your project handling you should do a complete rebuild of the project. Same place as you found “Run qmake” there should be “Clean” and “Rebuild”. It would be good enough to run rebuild, but clean before does not hurt.

                              This wont affect my .cpp files ?

                              1 Reply Last reply
                              0
                              • E Offline
                                E Offline
                                Elfayer
                                wrote on last edited by
                                #17

                                bq. It would be good enough to run rebuild, but clean before does not hurt.

                                I did, same error :
                                “The entry point of procedure ?doItemsLayout@TableView@@UAEXXZ is not found in the dynamic library QtGui4.dll”

                                I've found some topic on the same error on google, but I don't know what to do with it... It seems it come from the PATH environment :
                                http://developer.nokia.com/Community/Discussion/showthread.php/229077-quot-Entry-Point-Not-Found-quot-problem
                                http://stackoverflow.com/questions/11484000/qtgui4-dll-entry-point-not-found

                                PS: Also see the previous message.

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

                                  You have an old mingw version on your machine (3rd entry) not sure what is.

                                  "Clean" and "Rebuild" do affect only the generated files as .obj, libs, generated by the moc and ui stuff. You will keep your source. Otherwise something is completely wrong.

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

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

                                    Those posts are referring in principle also to a mix up of libs.

                                    You can check your environment path in a cmd prompt, by typing "path" and pressing return. Typically the output will be fairly long. Check whether there is an entry pointing to the msvc2008 you have on your machine.

                                    Alternatively, you can go also to the Build&Run page of your project. At the bottom is "System environment". There is also the "path" of the environment. Again no msvc2008 is allowed. You have only Qt libs compiled for msvc2010, so you can use only this compiler.

                                    Check also for references to the mingw build in path. They have to be out as well.

                                    Check, if the msvc2010 compiler tool chain is assigned to msvc2010 Qt libs. Your menu is looking different from mine and it is not only the language. I assume that you have an old qt creator version (cannot have a look right away), consider updating to the newest one.

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

                                    1 Reply Last reply
                                    0
                                    • E Offline
                                      E Offline
                                      Elfayer
                                      wrote on last edited by
                                      #20

                                      PATH = c:\Program Files (x86)\Microsoft F#\v4.0;
                                      c:\Program Files (x86)\Microsoft Visual Studio 10.0\VSTSDB\Deploy;
                                      c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE;
                                      c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN;
                                      c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools;
                                      c:\Windows\Microsoft.NET\Framework\v4.0.30319;
                                      c:\Windows\Microsoft.NET\Framework\v3.5;
                                      c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\VCPackages;
                                      C:\Program Files (x86)\HTML Help Workshop;
                                      C:\Program Files (x86)\HTML Help Workshop;
                                      c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Performance Tools;
                                      C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools;
                                      C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin;
                                      C:\QtSDK\Desktop\Qt\4.8.1\msvc2010\lib;
                                      C:\QtSDK\Desktop\Qt\4.8.1\msvc2010\bin;
                                      C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;
                                      C:\Program Files (x86)\ATI Stream\bin\x86_64;
                                      C:\Program Files (x86)\ATI Stream\bin\x86;
                                      C:\Perl64\site\bin;
                                      C:\Perl64\bin;
                                      C:\Program Files\MiKTeX 2.9\miktex\bin\x64;
                                      C:\Windows\system32;
                                      C:\Windows;
                                      C:\Windows\System32\Wbem;
                                      C:\Windows\System32\WindowsPowerShell\v1.0;
                                      C:\Program Files\Broadcom\Broadcom 802.11\Driver;
                                      C:\Program Files\TortoiseSVN\bin;
                                      C:\Program Files (x86)\Common Files\MDL Shared\ISIS;
                                      C:\Program Files (x86)\Objective Caml\bin;
                                      c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn;
                                      c:\Program Files\Microsoft SQL Server\100\Tools\Binn;
                                      c:\Program Files\Microsoft SQL Server\100\DTS\Binn;
                                      C:\Program Files (x86)\OpenAFS\Common;
                                      C:\Program Files (x86)\OpenAFS\Client\Program;
                                      C:\Program Files\OpenAFS\Common;
                                      C:\Program Files (x86)\MIT\Kerberos\bin;
                                      C:\Program Files\OpenAFS\Client\Program;
                                      C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static

                                      How can I update my QtCreator? I tried to update from QtCreator in Help>Start update tool and it says "No updates available".
                                      I think I've downloaded it from the nokia developpemer web site.

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

                                        You can download "Qt creator 2.8 from download page.":http://download.qt-project.org/official_releases/qtcreator/2.8/2.8.0/qt-creator-windows-opensource-2.8.0.exe

                                        You can also download and install "Qt 4.8.5 for msvc2010":http://download.qt-project.org/official_releases/qt/4.8/4.8.5/qt-win-opensource-4.8.5-vs2010.exe from there.

                                        AFAIK the nokia page is outdated already for some time. Probably you might get some maintenance stuff for Nokia mobile programming, but I do really not know.

                                        Your path setting looks fine to me. The only thing I am noting is the MikTex 2.9 setting. This caused problem in my setup some time ago. However, this is fairly late in the path setting and IIRC the path variable is used from start to end.

                                        One last "stupid" thought, you are not trying to compile as 64 bit app?
                                        All I saw on previous pages is referring to 32 bit, so there is only a little chance.

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

                                        1 Reply Last reply
                                        0
                                        • E Offline
                                          E Offline
                                          Elfayer
                                          wrote on last edited by
                                          #22

                                          bq. you are not trying to compile as 64 bit app?

                                          How can I know that ? Why would it be a problem ?

                                          I've downloaded your links, I don't have debug and can only release, but anyway, I'm having the same issue. I'm compiling, adding QtGui4.dll, QtCore4.dll and mingwm10.dll to the directory, and I still have the entry problem. This thing is making me mad...

                                          What do I have to do with "Qt 4.8.5 for msvc2010" ? Anything dor the compilation ?

                                          Here is the new PATH with " Qt creator 2.8" :
                                          C:\QtSDK\Desktop\Qt\4.8.1\msvc2010\bin;
                                          c:\Program Files (x86)\Microsoft F#\v4.0;
                                          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VSTSDB\Deploy;
                                          c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE;
                                          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN;
                                          c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools;
                                          c:\Windows\Microsoft.NET\Framework\v4.0.30319;
                                          c:\Windows\Microsoft.NET\Framework\v3.5;
                                          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\VCPackages;
                                          C:\Program Files (x86)\HTML Help Workshop;
                                          C:\Program Files (x86)\HTML Help Workshop;
                                          c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Performance Tools;
                                          C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools;
                                          C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin;
                                          C:\Program Files (x86)\Google\Chrome\Application;
                                          C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;
                                          C:\Program Files (x86)\ATI Stream\bin\x86_64;
                                          C:\Program Files (x86)\ATI Stream\bin\x86;
                                          C:\Perl64\site\bin;
                                          C:\Perl64\bin;
                                          C:\Program Files\MiKTeX 2.9\miktex\bin\x64;
                                          C:\Windows\system32;
                                          C:\Windows;
                                          C:\Windows\System32\Wbem;
                                          C:\Windows\System32\WindowsPowerShell\v1.0;
                                          C:\Program Files\Broadcom\Broadcom 802.11\Driver;
                                          C:\Program Files\TortoiseSVN\bin;
                                          C:\Program Files (x86)\Common Files\MDL Shared\ISIS;
                                          C:\Program Files (x86)\Objective Caml\bin;
                                          c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn;
                                          c:\Program Files\Microsoft SQL Server\100\Tools\Binn;
                                          c:\Program Files\Microsoft SQL Server\100\DTS\Binn;
                                          C:\Program Files (x86)\OpenAFS\Common;
                                          C:\Program Files (x86)\OpenAFS\Client\Program;
                                          C:\Program Files\OpenAFS\Common;
                                          C:\Program Files (x86)\MIT\Kerberos\bin;
                                          C:\Program Files\OpenAFS\Client\Program;
                                          C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static

                                          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