Results 1 to 6 of 6

Thread: QSystemStorageInfo not recognized during compile

  1. #1
    Join Date
    Nov 2010
    Posts
    8
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default QSystemStorageInfo not recognized during compile

    Hello everybody,

    I am writing a desktop application for Mac and Windows and I want to use the QSystemStorageInfo class which is part of QtMobility. I am using Qt Creator 2.4.1 based on Qt 4.7.4. QtMobility 1.2 should be part of this? The compiler does not recognise the QSystemStorageInfo class though.

    I tried this:
    http://doc.qt.nokia.com/qtmobility/installation.html

    but as I run the configure script it states that it cannot find qmake.. Where is qmake located normally?

    Any help would be greatly appreciated!

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QSystemStorageInfo not recognized during compile

    Qt Mobility is not part of Qt. It is an add-on to Qt that has to be installed separately. To use qmake from the command line, the easiest way is to launch "Qt command prompt" which sets up proper environment variables. Other than that, qmake is located inside your Qt installation.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Nov 2010
    Posts
    8
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QSystemStorageInfo not recognized during compile

    Thanks for your reply! I am not able to find this Qt command prompt anywhere though.. Do you have any idea where it could be? I am running Qt Creator 2.4.1
    Based on Qt 4.7.4..

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QSystemStorageInfo not recognized during compile

    Have you tried your Start Menu?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Nov 2010
    Posts
    8
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QSystemStorageInfo not recognized during compile

    In fact, no, because I am running on Mac. However I searched my disk using spotlight.. I the Qt command prompt a Windows only feature possibly?

    I shall reformulate my question:
    Is there anybody who knows how to make QtMobility classes (QSystemStorageInfo ) work on Mac using Qt Creator 2.4.1 based on Qt 4.7.4?

    When I run ./configure to install QtMobility from a bash shell I keep on getting the error that qmake cannot be found, even when I copy it to the folder I am in. However I think QtMobility *should* already be installed because my package manager int the Qt Maintenance application says so! The classes are not recognised by the compiler though.

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QSystemStorageInfo not recognized during compile

    On Mac open a terminal and make sure the bin directory of your QtSDK bundle is in the $PATH. But before you do all that, try launching the QtSDK maintenance tool (provided you're using QtSDK) and see if you can install Mobility from there.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Right ALT key not recognized
    By papillon in forum Newbie
    Replies: 1
    Last Post: 21st October 2011, 09:06
  2. configure is not recognized
    By Cucus in forum Installation and Deployment
    Replies: 3
    Last Post: 27th August 2011, 05:46
  3. QGraphicItem is not recognized
    By stella1016 in forum Qt Programming
    Replies: 3
    Last Post: 1st July 2011, 16:33
  4. QFont Object not recognized.
    By eLancaster in forum Newbie
    Replies: 9
    Last Post: 8th February 2011, 14:37
  5. mingw32-make not recognized
    By freekill in forum Installation and Deployment
    Replies: 4
    Last Post: 8th January 2010, 16:26

Tags for this Thread

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.