Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. C++ Gurus
  4. [SOLVED] qmake doesn't create executable files

[SOLVED] qmake doesn't create executable files

Scheduled Pinned Locked Moved C++ Gurus
5 Posts 3 Posters 10.8k 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.
  • D Offline
    D Offline
    drizzt
    wrote on last edited by
    #1

    Hello!
    I have QtSDK (1.1.2).
    After using commands at "Qt 4.7.3 for Desktop (MSVC 2008)" or the same with MinGW :
    qmake -project
    qmake project.pro
    there are folders debug and release but both are empty.
    What should i do?

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

      Welcome to the forum.

      If you run qmake, you are only preparing the make files. These makefiles have to be used together with nmake for msvc or, I guees it is just make, with mingw.

      I would suggest to go to the different tutorials "(.e.g.)":http://developer.qt.nokia.com/doc/qt-4.7/qt-basic-concepts.html on this platform. Those or others will provide a good start for you in using Qt.

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

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

        [Shameless self-plug]: Try "this tutorial":http://developer.qt.nokia.com/wiki/Basic_Qt_Programming_Tutorial to get you up and running.

        Nokia Certified Qt Specialist
        Interested in hearing about Qt related work

        1 Reply Last reply
        0
        • D Offline
          D Offline
          drizzt
          wrote on last edited by
          #4

          Thank you a lot guys. I found :)

          solution - cite("here":http://developer.qt.nokia.com/wiki/Build_Standalone_Qt_Application_for_Windows):
          -->>>

          Using MinGW

          To build the application run consecutively qmake and mingw32-make.

          1. qmake Hello.pro
          2. mingw32-make

          Using Microsoft Tools

          To build the Qt project as a standalone executable file run qmake and nmake. After that you should execute mt.exe to embed a manifest inside the application to avoid error such as missing MSVCP90.dll when the application is started on other computers.

          1. qmake Hello.pro
          2. nmake release
          3. cd release
          4. mt.exe -manifest Hello.exe.manifest -outputresource: Hello.exe;1

          Please note that the names of the manifest and the executable file depend on the name of your project.

          <<<--

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

            Or just use QtCreator and have it do that for you behind the scenes ;-) I agree it is good to know how to do it by hand too though.

            Nokia Certified Qt Specialist
            Interested in hearing about Qt related work

            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