Results 1 to 3 of 3

Thread: error installing qt-mobility with qt 4.7 on Windows 7

  1. #1
    Join Date
    Mar 2010
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default error installing qt-mobility with qt 4.7 on Windows 7

    Hi,

    i'm trying to install qt-mobility-opensource-src-1.1.0-tp with the latest qt sdk installed 4.7 on Windows 7.
    i extracted qt-mobility-opensource-src-1.1.0-tp to C:\QtMobility
    my qt is installed at C:\Qt\2010.05

    the problem is when i try to build Qt Mobility:
    when running mingw32-make

    after a while i get the following error:

    collect2: ld returned 1 exit status
    mingw32-make[4]: *** [release\qtlandmarks_sqlite.dll] Error 1
    mingw32-make[4]: Leaving directory `C:/QtMobility/plugins/landmarks/sqlite'
    mingw32-make[3]: *** [release] Error 2
    mingw32-make[3]: Leaving directory `C:/QtMobility/plugins/landmarks/sqlite'
    mingw32-make[2]: *** [sub-sqlite-make_default-ordered] Error 2
    mingw32-make[2]: Leaving directory `C:/QtMobility/plugins/landmarks'
    mingw32-make[1]: *** [sub-landmarks-make_default] Error 2
    mingw32-make[1]: Leaving directory `C:/QtMobility/plugins'
    mingw32-make: *** [sub-plugins-make_default-ordered] Error 2

    C:\QtMobility>


    Please assist

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: error installing qt-mobility with qt 4.7 on Windows 7

    That is not the error. It only tells you that there was a problem while linking and where, not the exact error.

    The error is mentioned somewhere above the lines you copied in your post.

  3. #3
    Join Date
    Mar 2010
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: error installing qt-mobility with qt 4.7 on Windows 7

    i'm not sure it's related to the error i got but when i try to run Qt Mobility Quickstart example (followed the instructions in http://qt-mobility.blogspot.com/2009...start-app.html) i get the following errors:

    ../untitled/main.cpp:7:29: error: QSystemInfo: No such file or directory
    ../untitled/main.cpp:9: error: 'QtMobility' is not a namespace-name
    ../untitled/main.cpp:9: error: expected namespace-name before ';' token
    ../untitled/main.cpp: In function 'int qMain(int, char**)':
    ../untitled/main.cpp:14: error: 'QSystemInfo' was not declared in this scope
    ../untitled/main.cpp:14: error: expected ';' before 's'
    ../untitled/main.cpp:15: error: 's' was not declared in this scope
    mingw32-make[1]: Leaving directory `C:/Qt/2010.04/untitled-build-desktop'
    mingw32-make: Leaving directory `C:/Qt/2010.04/untitled-build-desktop'
    mingw32-make[1]: *** [debug/main.o] Error 1
    mingw32-make: *** [debug] Error 2
    The process "C:/Qt/2010.04/mingw/bin/mingw32-make.exe" exited with code %2.
    Error while building project untitled (target: Desktop)
    When executing build step 'Make'

Similar Threads

  1. error about installing qwt
    By dycjiaoda in forum Qwt
    Replies: 2
    Last Post: 8th February 2011, 06:42
  2. Replies: 2
    Last Post: 16th January 2010, 19:10
  3. Error installing qt
    By superteny in forum Installation and Deployment
    Replies: 1
    Last Post: 18th May 2009, 11:07
  4. Error Installing Qt 4.2.2 opensource on Mac OS X
    By dvmorris in forum Installation and Deployment
    Replies: 3
    Last Post: 7th March 2007, 20:09
  5. installing Qt for Windows in XP
    By anaskareem in forum Installation and Deployment
    Replies: 4
    Last Post: 27th February 2006, 14:58

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.