I was trying to build Qt mobility (v1.1.0-tp1) on Mac OS X 10.6.4. My Qt version is: 4.7.0 which was built (successfully) from the source.
Following the instructions on http://doc.qt.nokia.com/qtmobility-1.1-tp/installation.html, I tried this: ./configure -sdk /Developer/SDKs/MacOSX10.5.sdk (OK) make ERROR with the following message: /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:50: error: expected unqualified-id before ‘[’ token /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:50: error: expected ‘;’ before ‘[’ token qsysteminfo_mac.mm: In member function ‘QString QtMobility::QSystemNetworkInfoPrivate::networkName(QtMobility::QSystemNetworkInfo::NetworkMode)’: qsysteminfo_mac.mm:1304: warning: unused variable ‘interfaceName’ qsysteminfo_mac.mm: At global scope: qsysteminfo_mac.mm:1381: warning: unused parameter ‘interfaceName’ make[3]: *** [../../build/Debug/QtSystemInfo/qsysteminfo_mac.o] Error 1 make[2]: *** [debug-all] Error 2 make[1]: *** [sub-systeminfo-make_default] Error 2 make: *** [sub-src-make_default-ordered] Error 2 Then I tried MacOSX10.6.sdk ./configure -sdk /Developer/SDKs/MacOSX10.6.sdk (OK) make ERROR with the following message: Undefined symbols: "QtMobility::QLandmarkFileHandlerGpx::setWaypoints(QList<QtMobility::QLandmark> const&)", referenced from: exportLandmarksGpx(QString const&, QIODevice*, QList<QtMobility::QLandmarkId>, QtMobility::QLandmarkManager::Error*, QString*, QString const&)in qlandmarkmanagerengine_sqlite.o "QtMobility::QLandmarkFileHandlerLmx::exportData(QIODevice*, QString const&)", referenced from: exportLandmarksLmx(QString const&, QIODevice*, QList<QtMobility::QLandmarkId>, QtMobility::QLandmarkManager::Error*, QString*, QString const&)in qlandmarkmanagerengine_sqlite.o "QtMobility::QLandmarkFileHandlerGpx::importData(QIODevice*)", referenced from: importLandmarksGpx(QString const&, QIODevice*, QtMobility::QLandmarkManager::Error*, QString*, QString const&, QueryRun*)in qlandmarkmanagerengine_sqlite.o . . . exportLandmarksLmx(QString const&, QIODevice*, QList<QtMobility::QLandmarkId>, QtMobility::QLandmarkManager::Error*, QString*, QString const&)in qlandmarkmanagerengine_sqlite.o exportLandmarksLmx(QString const&, QIODevice*, QList<QtMobility::QLandmarkId>, QtMobility::QLandmarkManager::Error*, QString*, QString const&)in qlandmarkmanagerengine_sqlite.o "QtMobility::QLandmarkFileHandlerGpx::exportData(QIODevice*, QString const&)", referenced from: exportLandmarksGpx(QString const&, QIODevice*, QList<QtMobility::QLandmarkId>, QtMobility::QLandmarkManager::Error*, QString*, QString const&)in qlandmarkmanagerengine_sqlite.o ld: symbol(s) not found collect2: ld returned 1 exit status make[4]: *** [libqtlandmarks_sqlite_debug.dylib] Error 1 make[3]: *** [debug-all] Error 2 make[2]: *** [sub-sqlite-make_default-ordered] Error 2 make[1]: *** [sub-landmarks-make_default] Error 2 make: *** [sub-plugins-make_default-ordered] Error 2 I also tried ran configuration without specifying sdk, like this: ./configure then when I ran "make", I got the same error message as the above one specifying MacOSX10.6.sdk. I appreciate if someone could tell me how to fix this. thanks! _______________________________________________ Qt-mobility-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback
