tags:

views:

110

answers:

1
A: 

Just a guess: I don't see a include -IC:\Qt\2010.03\qt\include in your call of g++. So the compiler can't find the Qt Headers. I tink there is something wrong in your EMCSolutionCrawler.pro.

Lars
the problem wasn't in the .pro file:<pre>TEMPLATE = appCONFIG += console \ qtQT = core \ network \ sql# QT += network sql# QT -= guiTARGET = EMCSolutionCrawler# CONFIG += console# CONFIG -= app_bundle# TEMPLATE = appSOURCES += main.cpp \ crawlerservice.cppHEADERS += crawlerservice.hinclude(../QtSolutions/qtservice/src/qtservice.pri)</pre>if I qmake and mingw32-make the project it builds without errors. Errors bubble up only if I use QtCreator to build it.I need a little time more to investigate and solve this issue but I'll update my post with the solution.
MementoMori
Okay. But there are now include directories given for your g++ call. So the compiler can't find the declartion of `QtCore/QApplication` etc.
Lars