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. Load OTHER_FILES with Qt-Creator 3.1.1

Load OTHER_FILES with Qt-Creator 3.1.1

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 1.3k 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.
  • R Offline
    R Offline
    richard_h
    wrote on last edited by
    #1

    Hello,

    I'm using Qt Creator 3.1.1 with Qt Version 4.8 and 5.3.
    I want to load OTHER_FILES dynamically to see it under the source files folder
    in the Qt Creator .

    It works fine if in the app.pro is
    @OTHER_FILES += *.ini *ui@

    To have a maintainable include of other files and change only on one part I want
    to use a pri-file.

    But if I write in the lib.pri:
    @OTHERFILESAPP = *.ini *.ui
    export($$OTHERFILESAPP)@

    and in my pro-File:
    @OTHER_FILES += $$OTHERFILESAPP@

    it doesn't work. I see the other files under a lib.pri folder and not under the
    source files.

    Is it possible to change it?

    Kind regards
    Richard

    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