Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Reopen import project
QtWS25 Last Chance

Reopen import project

Scheduled Pinned Locked Moved Qt Creator and other tools
9 Posts 4 Posters 4.0k 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.
  • M Offline
    M Offline
    mike4
    wrote on last edited by
    #1

    Hi
    i import a makefile project, save and exit. but how to reopen? no *.pro file
    thanks
    Michael

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

      We need a bit more information. Where do you import it? In QtCreator?
      By the way, Thats a tools question, so I move it to the correct forum.

      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
      • M Offline
        M Offline
        mike4
        wrote on last edited by
        #3

        yea in qtcreator...any other possibility to import a big makefile project?

        1 Reply Last reply
        0
        • G Offline
          G Offline
          goetz
          wrote on last edited by
          #4

          I doubt that there's a convenient method for that. I'd prepare a nice qmake .pro file (probably with a call to "qmake -project" to make a skeleton that will be customized).

          http://www.catb.org/~esr/faqs/smart-questions.html

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mike4
            wrote on last edited by
            #5

            weird...there's no possibilty alike Eclipse to make new project and import all files with a click?

            1 Reply Last reply
            0
            • G Offline
              G Offline
              goetz
              wrote on last edited by
              #6

              Qt Creator has no means to parse a Makefile.

              To import all header and source files call

              @
              qmake -project
              @

              on the command line within the source directory of your project. This will create a .pro file that you can use as a starting point. It will contain all .h and all .cpp files in HEADERS and SOURCES, but you will most likely have to adjust it, though.

              http://www.catb.org/~esr/faqs/smart-questions.html

              1 Reply Last reply
              0
              • T Offline
                T Offline
                tobias.hunger
                wrote on last edited by
                #7

                Note that Qt Creator not only accepts .pro files for its projects (even though that is the preferred format!), but also CMakeLists.txt and PROJECTNAME.creator files.

                The latter is created when importing an existing project.

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mike4
                  wrote on last edited by
                  #8

                  aahh Thanks

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    mike4
                    wrote on last edited by
                    #9

                    Now I get "no rule to make all"

                    something changed via git as it worked before...

                    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