Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

    Load OTHER_FILES with Qt-Creator 3.1.1

    Tools
    1
    1
    1134
    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.
    • R
      richard_h last edited by

      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 Reply Quote 0
      • First post
        Last post