I’d like to keep in my project some external files, let’s say .txt ones.
Is there any special category for external files in project file (.pro) of Qt Creator?
I’d like to keep in my project some external files, let’s say .txt ones.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Qt Creator, at least, uses an OTHER_FILES variable for .txt files and anything similar:
Adds “test.txt” to the “Project Files” pane in Qt Creator.
If you want to group your files a bit, what you can try is adding a separate .pri file such as “External.pri”, including your external files from there, and then including the .pri file in your .pro:
Project.pro
External.pri
Which has the effect of creating a folder of sorts (called “External”) in Qt Creator. If you have a bunch of external files it’ll help keep things organized.