[Qt-creator] Load OTHER_FILES with Qt-Creator 3.1.1

Richard Höhne hoehne at asinteg.de
Wed Jun 4 13:28:00 CEST 2014


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.pri

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20140604/781abb06/attachment.html>


More information about the Qt-creator mailing list