Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Solved How do I import a project including all the sub files ?

    General and Desktop
    2
    3
    51
    Loading More Posts
    • 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.
    • C
      Citabria last edited by

      Hi, I started a simple project to do some testing and learn about different widgets. I then turned it into a serious project. Because it is a serious project with its own name I copied all the files to a new folder with the correct name. I also renamed the .pro file. The files are the .pro file, main.h, mainwindow.h, mainwindow.ui, and mainwindow.cpp.
      I could find no "save project as" to do this for me.
      I can import the .pro file. But if I then try to import the other files, they are not part of the same project. They do not appear in the list on the left with the headers, sources and forms.
      How can I import all of this together so it looks much like it did before I copied everything to a new location ? Or is there a way to save all this to a new location with a new folder and .pro name ?

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        What does your new .pro file look like ?

        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 Reply Quote 0
        • C
          Citabria last edited by

          HI,

          I just opened the pro file for about the fifth time so I could answer your question. This time I clicked on Configure Project. I think I did that before. But this time all the files are there. So it looks like everything is good to go. And I see the other files listed in the pro file. Thank you for your quick reply..no pun intended.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post