Can I use the Qt Creator IDE for non-GUI programming? Now, compiling “Hello world” like plain C project:
#include <stdio.h>
int main(void)
{
printf("Hello World!\n");
return 0;
}
I get an error
:-1: error: Circular all <- project dependency dropped.
What did I do wrong?
I found the solution. In Tools – Options – Environment in Terminal a wrote xterm -e and it worked 🙂 Thanks for all.
I’ve been using QtCreator for writing a console app in C. I just have the following at the top of the project file:
And then the usual stuff to include sources (eg, SOURCES += main.c). Seems to work fine.