I'm simply looking for a quick and easy solution on how to change the default source code (if at all possible) for when you open a qtCreator C++ project.
As soon as you open up a new project you see something like below in your main.cpp file.
#include <QCoreApplication>
int main(int argc, char *argv[]) {
QCoreApplication a(argc, argv);
return a.exec(); }
I'm wondering if there's a way to change this code snippet to user defined code. I personally just think its a hassle to wipe all this code out every time I create a project and would rather it look something like below, when I make a new project.
#include <QCoreApplication>
#include <iostream>
using namespace std;
int main() {
}
Anyways, open to all different types of solutions just let me know...