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. [SOLVED] [File Organization] Creating an organized project with Qt Creator
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] [File Organization] Creating an organized project with Qt Creator

Scheduled Pinned Locked Moved Qt Creator and other tools
21 Posts 6 Posters 41.9k 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.
  • N Offline
    N Offline
    Nathaniel Johnson
    wrote on 17 Dec 2013, 02:32 last edited by
    #21

    Having just worked through this issue in QT Creator I found that the (simple) thing I didn't notice before if you click on the funnel shaped icon in the project view and un-check the Simplify Tree option it makes it look like the "loladiro picture":http://qt-project.org/forums/viewthread/6971/#40658 .

    I also did not get this to work:

    @INCLUDEPATH += $$PWD
    DEPENDPATH += $$PWD
    SOURCES += source1.h
    source2.h
    HEADERS += header1.h
    header2.h
    @

    So instead I did this:

    @CURRENT_DIR = $$PWD
    SOURCES += $$CURRENT_DIR/source1.cpp
    HEADERS += $$CURRENT_DIR/source1.h@

    This works for me BUT
    If someone has time to explain, I would be curious to know why why modifying the INCLUDEPATH and DEPENDPATH variables didn't work.

    1 Reply Last reply
    0

    21/21

    17 Dec 2013, 02:32

    • Login

    • Login or register to search.
    21 out of 21
    • First post
      21/21
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved