Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to run qtquick program?
QtWS25 Last Chance

How to run qtquick program?

Scheduled Pinned Locked Moved QML and Qt Quick
13 Posts 2 Posters 4.4k 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.
  • S Offline
    S Offline
    siaswar
    wrote on last edited by
    #1

    I finished my program and compiled and every thing is great.
    in Windows when I double click on program it needs some dll file and I collect all dll file for it.
    but some thing still is wrong with QtCore4.dll. The error is:
    The procedure entry point ?mse@ATime@@QBEHXZ could not be located in the dynamic link library QTCore4.dll
    How can I run my program?

    1 Reply Last reply
    0
    • B Offline
      B Offline
      beemaster
      wrote on last edited by
      #2

      You need to put Qt dlls near your exe file. You can read more "here":http://qt-project.org/doc/qt-4.8/deployment-windows.html

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

        I know and I put the dll files near exe file. after that I receive this Error. without that It simply show an error massage says which dll file is messing. I read that page before

        Actually When I compile the program in the release folder there is a folder contain a qml file and three images which I use in my program.
        I put the neare exe file but nothing changed. What's the problem

        1 Reply Last reply
        0
        • B Offline
          B Offline
          beemaster
          wrote on last edited by
          #4

          Which compiler you use MinGW or Microsoft Visual Studio?

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

            [quote author="beemaster" date="1351607490"]Which compiler you use MinGW or Microsoft Visual Studio?[/quote]

            Mingw

            1 Reply Last reply
            0
            • B Offline
              B Offline
              beemaster
              wrote on last edited by
              #6
              1. Can you run your program from Qt Creator?
              2. Please put a full list of dll files (both Qt and MinGW) that you copied near your exe file.
              1 Reply Last reply
              0
              • S Offline
                S Offline
                siaswar
                wrote on last edited by
                #7

                [quote author="beemaster" date="1351608096"]1) Can you run your program from Qt Creator?
                2) Please put a full list of dll files (both Qt and MinGW) that you copied near your exe file.[/quote]

                Yes the program runs from Qt-Creator perfectly
                list of dlls:
                libgcc_s_dw2-1.dll
                libstdc++-6.dll
                mingwm10.dll
                msvcr90.dll
                QtCore4.dll
                QtDeclarative4.dll
                QtGui4.dll
                QtNetwork4.dll
                QtScript4.dll
                QtSql4.dll
                QtXmlPatterns4.dll


                I know some of dlls are not needed but those were suggestion of dependency wakler

                1 Reply Last reply
                0
                • B Offline
                  B Offline
                  beemaster
                  wrote on last edited by
                  #8

                  Good. Need more info.
                  Please tell me where did you get Qt dlls from (full path like C:\QtSDK\Desktop......)

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

                    I installed qtlibrary with minqw for windows and find dlls in c:\qt\4.3.8

                    1 Reply Last reply
                    0
                    • B Offline
                      B Offline
                      beemaster
                      wrote on last edited by
                      #10

                      Did you install Qt Creator separately? Where is located your Qt Creator? Is it a part of SDK?

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

                        [quote author="beemaster" date="1351609345"]Did you install Qt Creator separately? Where is located your Qt Creator? Is it a part of SDK?[/quote]
                        ya, I installed creator separately

                        1 Reply Last reply
                        0
                        • B Offline
                          B Offline
                          beemaster
                          wrote on last edited by
                          #12

                          Ensure that there are no other copies of Qt library in your PATH. Sometimes happens that there are older versions shipped with programs that are in PATH (MiKTeX, LyX, TortoiseHG for example). Try executing your program from a command line prompt, after having set the PATH: set PATH=C:\path\to\qt;%PATH%. If that works set the PATH system widely
                          http://stackoverflow.com/questions/11484000/qtgui4-dll-entry-point-not-found

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

                            [quote author="beemaster" date="1351611758"]Ensure that there are no other copies of Qt library in your PATH. Sometimes happens that there are older versions shipped with programs that are in PATH (MiKTeX, LyX, TortoiseHG for example). Try executing your program from a command line prompt, after having set the PATH: set PATH=C:\path\to\qt;%PATH%. If that works set the PATH system widely
                            http://stackoverflow.com/questions/11484000/qtgui4-dll-entry-point-not-found[/quote]

                            Thank you very much.

                            @1st I add the mingw\bin and qt\bin path to the system path. Now it just shows the qmlviewer not my program (And there is not a program! just a qml file which should be open with qmlViewer)

                            My project name is qmltest --> Near the release folder there is another folder named qml

                            2nd: I copied the qml folder into release folder near qmlviewer (in this case qmltest.exe).
                            Now I'm running the exe file and my program is running very well. thanks

                            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