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. Load a directory into a qt-creator project
Forum Updated to NodeBB v4.3 + New Features

Load a directory into a qt-creator project

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 3 Posters 444 Views 1 Watching
  • 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.
  • B Offline
    B Offline
    brayaON
    wrote on last edited by
    #1

    Hello, guys!
    I'm new working with c++ and qt-creator. I started doing a Udemy course about c++ and I didn't know about qt-creator. Because of that I wrote all my programs with a editor (VIM) and I categorized every file into folders (Loops, If, Functions, OOP,..). Recently I knew qt-creator and I think it is amazing and now I want that all my folders and files appear in qt-creator like a real project. I created a new project but it didn't work so if you can help me I will be thankful.

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      Try creating subdir project. Add all the folders in subdir project.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      B 1 Reply Last reply
      1
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi and welcome to the forums
        When you have made the new project, you can add your existing files to it.
        Right click on the project name
        alt text

        Then you can add the .cpp and .h files from your various sub folders.

        B 1 Reply Last reply
        1
        • dheerendraD dheerendra

          Try creating subdir project. Add all the folders in subdir project.

          B Offline
          B Offline
          brayaON
          wrote on last edited by
          #4

          @dheerendra thank you!

          1 Reply Last reply
          0
          • mrjjM mrjj

            Hi and welcome to the forums
            When you have made the new project, you can add your existing files to it.
            Right click on the project name
            alt text

            Then you can add the .cpp and .h files from your various sub folders.

            B Offline
            B Offline
            brayaON
            wrote on last edited by
            #5

            @mrjj thank you so much! this solved my problem.

            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