Obtain the QT library, open terminal, type CD/users/test/downloads, press enter, git clone git: // gitorious.org/#qt-iphone/qt/qt-iphone-clone.git plugin, and compile the simulator and real machine in it.
Enter. /configure-xplatform iphonesimulator-G ++ 42-platform macx-Ios-G ++ 42-opensource-Ios-no-Accessibility-no-qt3support-no-multimedia-no-phonon-No -phonon-backend-no-WebKit-no-scripttools-no-SQL-mysql-no-SQL-ODBC-no-cups-no-plugin-no-OpenGL-static-nomake demos-nomake docs-nomake examples-Prefix/libs/qt_742_sim
Make can be executed again after execution.
Make install
To delete some generated files, type make confclean
To compile the iPad version, enter. /configure-xplatform iPhone-device-G ++ 42-platform macx-G ++-i386-opensource-Ios-no-PCH-no-Accessibility-no-qt3support-no-xmlpatterns- no-multimedia-no-phonon-backend-no-SVG-no-WebKit-no-scripttools-no-OpenSSL-no-SQL-mysql-no-SQL- ODBC-no-cups-no-iconv-no-plugin-no-OpenGL-static-nomake tools-nomake demos-nomake docs-nomake examples-nomake translations-Prefix/libs/qt_742_armv7
After execution, go to QT-iPhone-clone/src/corlib, open makefile. debug and makefile. release, and delete-FASM-blocks. Otherwise
The following error is reported:
Animation/qiniactanimation. cpp: 1: Error:-FASM-blocks option not supported for ARM
Make [2]: *** [. OBJ/release-static/qiniactanimation. O] Error 1
Make [1]: *** [release] Error 2
Make: *** [sub-corelib-make_default-ordered] Error 2
If this type of error persists, use this method to handle it.
Go to the following directory and delete-FASM-blocks in makefile. debug makefile. Release.
Src/corlib
Src/XML
Src/Network
Src/SQL
Src/testlib
Src/GUI
Src/script
Src/declarative
Src/plugins/sqldrivers/sqllite
Src/plugins/bearer/generic
Src/plugins/imageformats/ICO
Src/plugins/graphicssystems/Trace
Src/imports/folderlistmodel/
Src/imports/Participant/
Src/imports/Gestures/
------------------------------
This version is based on a value-shifting version of QT for iPhone. Its URL is:
Https://qt.gitorious.org/+qt-iphone/qt/qt-iphone-clone
The 4.8.0-based address is:
Https ://Qt.Gitorious.org /~ Ianfromafrica/Qt/Qt-IOS-Plaszma
You can run the following command to obtain the Code:
Git clone git: // gitorious.org /~ Ianfromafrica/QT/qt-ios-plaszma.git