On 08/04/16 03:41, d3fault wrote:
int main()
{
        QFile file(“/path/to/main.cpp”); file.open();
        QByteArray outputFromQtCreatorInOriginalForm = file.readAll();
        QFile file2(“/whatever.cpp”); file.open();
        file2.write(outputFromQtCreatorInOriginalForm);
}

So since I wrote /path/to/main.cpp in Qt Creator, it’s “output from
this application”

No, that's input from you, not output from Creator. Creator did not create that code.

Output from creator and designer are .ui files, the .cpp/.h files output by moc or rcc, etc.

If you wrote the code, it's your output, not Creator's. Just because you feed it to Creator doesn't mean it created it.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to