Error: [main.o] Error 1 On Mac
General and Desktop
3
Posts
2
Posters
1.4k
Views
1
Watching
-
Hi all
For some reason I am getting this error recently.
I created the simples hello world console application:.pro File
@
#-------------------------------------------------Project created by QtCreator 2014-04-10T18:51:22
#-------------------------------------------------
QT += core
QT -= gui
TARGET = LIST
CONFIG += console
CONFIG -= app_bundleTEMPLATE = app
SOURCES += main.cpp
@main.cpp:
@
#include <QCoreApplication>
#include<QDebug>
#include <QtCore>
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
qDebug()<<"HI";
return a.exec();
}@
I assume there is something wrong in my setting.
All other previously written works just fine but not able to write any new one. it just happened today after work.Thanks
-
I noticed it happens when I add
@
#include<QList>
@