Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1903

Fetchgooglemaps application does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P4: Low
    • 1.0.x
    • 1.0.2
    • Documentation
    • Windows 7

      Qt Creator 2.3.1
      Based on Qt 4.7.4 (32 bit)
      Built on Sep 21 2011 at 10:51:01
      From revision 8840168fc5


    Description

      1. Get sources from: http://get.qt.nokia.com/qt/solutions/qt-mobility-opensource-src-1.0.2.tar.gz

      2. compile it

      Error:

      Running build steps for project fetchgooglemaps...
      Starting: "c:\n950sdk\simulator\qt\mingw\bin\qmake.exe" C:\Users\tester\Downloads\testfiles_34-1\qt-mobility-opensource-src-1.0.2\qt-mobility-opensource-src-1.0.2\examples\fetchgooglemaps\fetchgooglemaps.pro -r -spec win32-g++ "CONFIG+=release"
      WARNING: c:\Users\tester\Downloads\testfiles_34-1\qt-mobility-opensource-src-1.0.2\qt-mobility-opensource-src-1.0.2\staticconfig.pri:15: Unable to find file for inclusion c:\Users\tester\Downloads\testfiles_34-1\qt-mobility-opensource-src-1.0.2\qt-mobility-opensource-src-1.0.2\config.pri
      Project MESSAGE: Qt Mobility Bearer API is deprecated when using Qt 4.7 or higher.
      Project MESSAGE: Please use source compatible replacement Bearer API in QtNetwork.
      WARNING: c:\Users\tester\Downloads\testfiles_34-1\qt-mobility-opensource-src-1.0.2\qt-mobility-opensource-src-1.0.2\staticconfig.pri:15: Unable to find file for inclusion c:\Users\tester\Downloads\testfiles_34-1\qt-mobility-opensource-src-1.0.2\qt-mobility-opensource-src-1.0.2\config.pri
      Project MESSAGE: Qt Mobility Bearer API is deprecated when using Qt 4.7 or higher.
      Project MESSAGE: Please use source compatible replacement Bearer API in QtNetwork.
      WARNING: c:\Users\tester\Downloads\testfiles_34-1\qt-mobility-opensource-src-1.0.2\qt-mobility-opensource-src-1.0.2\staticconfig.pri:15: Unable to find file for inclusion c:\Users\tester\Downloads\testfiles_34-1\qt-mobility-opensource-src-1.0.2\qt-mobility-opensource-src-1.0.2\config.pri
      Project MESSAGE: Qt Mobility Bearer API is deprecated when using Qt 4.7 or higher.
      Project MESSAGE: Please use source compatible replacement Bearer API in QtNetwork.
      The process "c:\n950sdk\simulator\qt\mingw\bin\qmake.exe" exited normally.
      Starting: "C:\N950SDK\mingw\bin\mingw32-make.exe"
      C:/N950SDK/mingw/bin/mingw32-make -f Makefile.Release
      mingw32-make[1]: Entering directory `C:/Users/tester/Downloads/testfiles_34-1/qt-mobility-opensource-src-1.0.2/qt-mobility-opensource-src-1.0.2/examples/fetchgooglemaps-build-simulator-Simulator_Qt_for_MinGW_4_4_Qt_SDK_Release'
      g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_MOBILITY_BEARER -DQT_DLL -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\N950SDK\Simulator\Qt\mingw\include\QtCore" -I"c:\N950SDK\Simulator\Qt\mingw\include\QtNetwork" -I"c:\N950SDK\Simulator\Qt\mingw\include\QtGui" -I"c:\N950SDK\Simulator\Qt\mingw\include\QtWebKit" -I"c:\N950SDK\Simulator\Qt\mingw\include" -I"..\..\src\location" -I"..\..\src\bearer" -I"..\..\src\global" -I"..\satellitedialog" -I"..\..\src\global" -I"c:\N950SDK\Simulator\Qt\mingw\include\ActiveQt" -I"..\..\build\Release\fetchgooglemaps\moc" -I"." -I"c:\N950SDK\Simulator\Qt\mingw\mkspecs\win32-g++" -o ..\..\build\Release\fetchgooglemaps\mapwindow.o ..\fetchgooglemaps\mapwindow.cpp
      g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_MOBILITY_BEARER -DQT_DLL -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\N950SDK\Simulator\Qt\mingw\include\QtCore" -I"c:\N950SDK\Simulator\Qt\mingw\include\QtNetwork" -I"c:\N950SDK\Simulator\Qt\mingw\include\QtGui" -I"c:\N950SDK\Simulator\Qt\mingw\include\QtWebKit" -I"c:\N950SDK\Simulator\Qt\mingw\include" -I"..\..\src\location" -I"..\..\src\bearer" -I"..\..\src\global" -I"..\satellitedialog" -I"..\..\src\global" -I"c:\N950SDK\Simulator\Qt\mingw\include\ActiveQt" -I"..\..\build\Release\fetchgooglemaps\moc" -I"." -I"c:\N950SDK\Simulator\Qt\mingw\mkspecs\win32-g++" -o ..\..\build\Release\fetchgooglemaps\satellitedialog.o ..\satellitedialog\satellitedialog.cpp
      g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_MOBILITY_BEARER -DQT_DLL -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\N950SDK\Simulator\Qt\mingw\include\QtCore" -I"c:\N950SDK\Simulator\Qt\mingw\include\QtNetwork" -I"c:\N950SDK\Simulator\Qt\mingw\include\QtGui" -I"c:\N950SDK\Simulator\Qt\mingw\include\QtWebKit" -I"c:\N950SDK\Simulator\Qt\mingw\include" -I"..\..\src\location" -I"..\..\src\bearer" -I"..\..\src\global" -I"..\satellitedialog" -I"..\..\src\global" -I"c:\N950SDK\Simulator\Qt\mingw\include\ActiveQt" -I"..\..\build\Release\fetchgooglemaps\moc" -I"." -I"c:\N950SDK\Simulator\Qt\mingw\mkspecs\win32-g++" -o ..\..\build\Release\fetchgooglemaps\main.o ..\fetchgooglemaps\main.cpp
      C:\N950SDK\Simulator\Qt\mingw\bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_MOBILITY_BEARER -DQT_DLL -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\N950SDK\Simulator\Qt\mingw\include\QtCore" -I"c:\N950SDK\Simulator\Qt\mingw\include\QtNetwork" -I"c:\N950SDK\Simulator\Qt\mingw\include\QtGui" -I"c:\N950SDK\Simulator\Qt\mingw\include\QtWebKit" -I"c:\N950SDK\Simulator\Qt\mingw\include" -I"..\..\src\location" -I"..\..\src\bearer" -I"..\..\src\global" -I"..\satellitedialog" -I"..\..\src\global" -I"c:\N950SDK\Simulator\Qt\mingw\include\ActiveQt" -I"..\..\build\Release\fetchgooglemaps\moc" -I"." -I"c:\N950SDK\Simulator\Qt\mingw\mkspecs\win32-g++" -D_GNUC_ -DWIN32 ..\fetchgooglemaps\mapwindow.h -o ..\..\build\Release\fetchgooglemaps\moc\moc_mapwindow.cpp
      g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_MOBILITY_BEARER -DQT_DLL -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\N950SDK\Simulator\Qt\mingw\include\QtCore" -I"c:\N950SDK\Simulator\Qt\mingw\include\QtNetwork" -I"c:\N950SDK\Simulator\Qt\mingw\include\QtGui" -I"c:\N950SDK\Simulator\Qt\mingw\include\QtWebKit" -I"c:\N950SDK\Simulator\Qt\mingw\include" -I"..\..\src\location" -I"..\..\src\bearer" -I"..\..\src\global" -I"..\satellitedialog" -I"..\..\src\global" -I"c:\N950SDK\Simulator\Qt\mingw\include\ActiveQt" -I"..\..\build\Release\fetchgooglemaps\moc" -I"." -I"c:\N950SDK\Simulator\Qt\mingw\mkspecs\win32-g++" -o ..\..\build\Release\fetchgooglemaps\moc_mapwindow.o ..\..\build\Release\fetchgooglemaps\moc\moc_mapwindow.cpp
      mingw32-make[1]: Leaving directory `C:/Users/tester/Downloads/testfiles_34-1/qt-mobility-opensource-src-1.0.2/qt-mobility-opensource-src-1.0.2/examples/fetchgooglemaps-build-simulator-Simulator_Qt_for_MinGW_4_4_Qt_SDK_Release'
      ..\..\build\Release\fetchgooglemaps\moc\moc_mapwindow.cpp:10:60: error: ../../../../examples/fetchgooglemaps/mapwindow.h: No such file or directory
      ..\..\build\Release\fetchgooglemaps\moc\moc_mapwindow.cpp:12:2: error: #error "The header file 'mapwindow.h' doesn't include <QObject>."
      ..\..\build\Release\fetchgooglemaps\moc\moc_mapwindow.cpp:20: error: expected constructor, destructor, or type conversion before 'static'
      ..\..\build\Release\fetchgooglemaps\moc\moc_mapwindow.cpp:49: error: 'QMetaObject' does not name a type
      ..\..\build\Release\fetchgooglemaps\moc\moc_mapwindow.cpp:58: error: expected initializer before '*' token
      ..\..\build\Release\fetchgooglemaps\moc\moc_mapwindow.cpp:63: error: 'MapWindow' has not been declared
      ..\..\build\Release\fetchgooglemaps\moc\moc_mapwindow.cpp: In function 'void* qt_metacast(const char*)':
      ..\..\build\Release\fetchgooglemaps\moc\moc_mapwindow.cpp:66: error: 'strcmp' was not declared in this scope
      ..\..\build\Release\fetchgooglemaps\moc\moc_mapwindow.cpp:67: error: expected type-specifier before 'MapWindow'
      ..\..\build\Release\fetchgooglemaps\moc\moc_mapwindow.cpp:67: error: expected '>' before 'MapWindow'
      ..\..\build\Release\fetchgooglemaps\moc\moc_mapwindow.cpp:67: error: expected '(' before 'MapWindow'
      ..\..\build\Release\fetchgooglemaps\moc\moc_mapwindow.cpp:67: error: 'MapWindow' was not declared in this scope
      ..\..\build\Release\fetchgooglemaps\moc\moc_mapwindow.cpp:67: error: expected primary-expression before '>' token
      ..\..\build\Release\fetchgooglemaps\moc\moc_mapwindow.cpp:67: error: invalid use of 'this' in non-member function
      ..\..\build\Release\fetchgooglemaps\moc\moc_mapwindow.cpp:67: error: expected ')' before ';' token
      ..\..\build\Release\fetchgooglemaps\moc\moc_mapwindow.cpp:68: error: 'QMainWindow' has not been declared
      ..\..\build\Release\fetchgooglemaps\moc\moc_mapwindow.cpp: At global scope:
      ..\..\build\Release\fetchgooglemaps\moc\moc_mapwindow.cpp:71: error: 'MapWindow' has not been declared
      ..\..\build\Release\fetchgooglemaps\moc\moc_mapwindow.cpp:71: error: 'QMetaObject' has not been declared
      ..\..\build\Release\fetchgooglemaps\moc\moc_mapwindow.cpp:71: error: expected primary-expression before 'int'
      ..\..\build\Release\fetchgooglemaps\moc\moc_mapwindow.cpp:71: error: expected primary-expression before 'void'
      ..\..\build\Release\fetchgooglemaps\moc\moc_mapwindow.cpp:71: error: initializer expression list treated as compound expression
      ..\..\build\Release\fetchgooglemaps\moc\moc_mapwindow.cpp:72: error: expected ',' or ';' before '{' token
      mingw32-make[1]: *** [../../build/Release/fetchgooglemaps/moc_mapwindow.o] Error 1
      mingw32-make: *** [release] Error 2
      The process "C:\N950SDK\mingw\bin\mingw32-make.exe" exited with code 2.
      Error while building project fetchgooglemaps (target: Qt Simulator)
      When executing build step 'Make'

      Attachments

        Activity

          People

            pyard Peter Yard (closed Nokia identity) (Inactive)
            stuura Seppo Tuura
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: