
Originally Posted by
prashanthudupa
a) Go to PaintApp/Source directory.
b) Edit local.pri and enter the full path of the PaintApp directory.
c) qmake -recursive
d) make
e) ./GCFPaintApp.
After step (d), I see the following error:
C:\dev\GCF-1.0.573\PaintApp\Source>make
cd GCF\ && mingw32-make -f Makefile
mingw32-make[1]: Entering directory `C:/dev/GCF-1.0.573/PaintApp/Source/GCF'
mingw32-make -f Makefile.Debug
mingw32-make[2]: Entering directory `C:/dev/GCF-1.0.573/PaintApp/Source/GCF'
g++ -c -g -Wall -frtti -fexceptions -mthreads -DUNICODE -DQT_LARGEFILE_SUPPORT -
D-D_CRT_SECURE_NO_DEPRECATE -DVCL_MAKE_DLL -DQT_DLL -DQT_XML_LIB -DQT_GUI_LIB -D
QT_CORE_LIB -DQT_THREAD_SUPPORT -I"c:\Qt\opensource\4.3.0\include\QtCore" -I"c:\
Qt\opensource\4.3.0\include\QtCore" -I"c:\Qt\opensource\4.3.0\include\QtGui" -I"
c:\Qt\opensource\4.3.0\include\QtGui" -I"c:\Qt\opensource\4.3.0\include\QtXml" -
I"c:\Qt\opensource\4.3.0\include\QtXml" -I"c:\Qt\opensource\4.3.0\include" -I"..
\..\Source" -I"c:\dev\GCF-1.0.573\PaintApp\\Source\Common" -I"..\..\Build\lib" -
I"..\..\Build\objs" -I"include" -I"..\Interfaces" -I"c:\Qt\opensource\4.3.0\incl
ude\ActiveQt" -I"..\..\Build\objs\gcf" -I"..\..\Build\objs\gcf" -I"c:\Qt\opensou
rce\4.3.0\mkspecs\win32-g++" -o ..\..\Build\objs\gcf\CComponentFactory.o source\
CComponentFactory.cpp
<command line>:4:1: macro names must be identifiers
mingw32-make[2]: *** [..\..\Build\objs\gcf\CComponentFactory.o] Error 1
mingw32-make[2]: Leaving directory `C:/dev/GCF-1.0.573/PaintApp/Source/GCF'
mingw32-make[1]: *** [debug] Error 2
mingw32-make[1]: Leaving directory `C:/dev/GCF-1.0.573/PaintApp/Source/GCF'
mingw32-make: *** [sub-GCF-make_default-ordered] Error 2
C:\dev\GCF-1.0.573\PaintApp\Source>make
cd GCF\ && mingw32-make -f Makefile
mingw32-make[1]: Entering directory `C:/dev/GCF-1.0.573/PaintApp/Source/GCF'
mingw32-make -f Makefile.Debug
mingw32-make[2]: Entering directory `C:/dev/GCF-1.0.573/PaintApp/Source/GCF'
g++ -c -g -Wall -frtti -fexceptions -mthreads -DUNICODE -DQT_LARGEFILE_SUPPORT -
D-D_CRT_SECURE_NO_DEPRECATE -DVCL_MAKE_DLL -DQT_DLL -DQT_XML_LIB -DQT_GUI_LIB -D
QT_CORE_LIB -DQT_THREAD_SUPPORT -I"c:\Qt\opensource\4.3.0\include\QtCore" -I"c:\
Qt\opensource\4.3.0\include\QtCore" -I"c:\Qt\opensource\4.3.0\include\QtGui" -I"
c:\Qt\opensource\4.3.0\include\QtGui" -I"c:\Qt\opensource\4.3.0\include\QtXml" -
I"c:\Qt\opensource\4.3.0\include\QtXml" -I"c:\Qt\opensource\4.3.0\include" -I"..
\..\Source" -I"c:\dev\GCF-1.0.573\PaintApp\\Source\Common" -I"..\..\Build\lib" -
I"..\..\Build\objs" -I"include" -I"..\Interfaces" -I"c:\Qt\opensource\4.3.0\incl
ude\ActiveQt" -I"..\..\Build\objs\gcf" -I"..\..\Build\objs\gcf" -I"c:\Qt\opensou
rce\4.3.0\mkspecs\win32-g++" -o ..\..\Build\objs\gcf\CComponentFactory.o source\
CComponentFactory.cpp
<command line>:4:1: macro names must be identifiers
mingw32-make[2]: *** [..\..\Build\objs\gcf\CComponentFactory.o] Error 1
mingw32-make[2]: Leaving directory `C:/dev/GCF-1.0.573/PaintApp/Source/GCF'
mingw32-make[1]: *** [debug] Error 2
mingw32-make[1]: Leaving directory `C:/dev/GCF-1.0.573/PaintApp/Source/GCF'
mingw32-make: *** [sub-GCF-make_default-ordered] Error 2
To copy to clipboard, switch view to plain text mode
Bookmarks