Is there any special category for external files in project file of Qt Creator? -


I would like to put some external files in my project, we say .txt ones what QT creator Is there a special category for external files in Project File (.pro)?

The Qt creator, at least, uses an OTHER_FILES variable for .txt files and some Similar:

  OTHER_FILES + = test.txt  

"test.txt" adds "project files" pane to Qt Creator.


If you want to make your files a little group, then you want to add a separate .pri file such as "External.pri", which contains your external files from there and then the .prri file Your .Pro includes:

Project.pro

  HEADERS + = someclass H sources + = main.cpp someclass.cpp. External.pri 

External.pri

Code>

The effect of creating a folder in the Qt Creator (called "external"). If you have a bunch of external files then it will help keep things organized.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -