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. Probleme with generating project *.pro

Probleme with generating project *.pro

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 4 Posters 574 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.
  • L Offline
    L Offline
    lkatir
    wrote on last edited by
    #1

    Hello evryone, for VS project already existing, i used to generate the project using the *.pro (Qmake thing i think), i replaced vs by qt creator keepin VS environement. i used to click on the .pro with right clic and generate the project , now the generate line desapeared and the .pro is set as a qt file by default.
    I m a little begginer in that thing and for information (i don t know if it s usfull to know i m using xbinder).
    Can you help ?!

    1 Reply Last reply
    0
    • IamSumitI Offline
      IamSumitI Offline
      IamSumit
      wrote on last edited by IamSumit
      #2

      Hello,

      In order to generate .pro file please follows these steps:-

      1. Delete your *.o , *.pro file and make file (if already existing). where these are located.
      2. open the terminal/cmd prompt and run/execute the following commands:-
        a) make clean
        b)qmake -project (it will generate your new *.pro file)
        c)qmake
        d)make
        Hope this helps.

      Be Cute

      L 1 Reply Last reply
      0
      • IamSumitI IamSumit

        Hello,

        In order to generate .pro file please follows these steps:-

        1. Delete your *.o , *.pro file and make file (if already existing). where these are located.
        2. open the terminal/cmd prompt and run/execute the following commands:-
          a) make clean
          b)qmake -project (it will generate your new *.pro file)
          c)qmake
          d)make
          Hope this helps.
        L Offline
        L Offline
        lkatir
        wrote on last edited by
        #3

        @IamSumit thank your for your answer, in fact i already have the .pro ! the be more specific; in my machine i have qt so to run a qmake on my project i open it with qt and i run a qmake (so easy :) ), but what i m trinig to do is to apply a generate on the .pro (not to generate it) on a machine that douesn't have qt !
        sorry for not being enaught clear but i m a little begginer !

        1 Reply Last reply
        0
        • VRoninV Offline
          VRoninV Offline
          VRonin
          wrote on last edited by VRonin
          #4

          you can use qmake to generate the VS project file, using -tp vc argument, see https://doc.qt.io/qt-5/qmake-platform-notes.html#creating-visual-studio-project-files
          I never tested the quality of the result though

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          1 Reply Last reply
          2
          • L Offline
            L Offline
            lkatir
            wrote on last edited by
            #5

            In fact it's more complicated thene that there are so many environement variables to set !
            i found an other way to do what i have to do instead of using this generation !
            thanks for unswearing any way!

            Pablo J. RoginaP 1 Reply Last reply
            0
            • L lkatir

              In fact it's more complicated thene that there are so many environement variables to set !
              i found an other way to do what i have to do instead of using this generation !
              thanks for unswearing any way!

              Pablo J. RoginaP Offline
              Pablo J. RoginaP Offline
              Pablo J. Rogina
              wrote on last edited by
              #6

              @lkatir two things please if you solved your issue:

              1. it would be great you can describe what you did so other readers can benefit eventually
              2. don't forget to mark your post as solved!

              Upvote the answer(s) that helped you solve the issue
              Use "Topic Tools" button to mark your post as Solved
              Add screenshots via postimage.org
              Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

              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