PDA

View Full Version : Text Files



Niren
29th February 2012, 18:03
Hi, I have a text file i wish to add to my QT4 project, how do i do this?
Thanks

roxton
29th February 2012, 21:53
Use the resources. Make your text file available to the program using the resourse file.

ChrisW67
29th February 2012, 22:21
You can add the file to the OTHER_FILES (undocumented?) variable in your PRO file. It will have no effect on building the project but if you use Qt Creator the file will appear in the IDE project browser.