iOS için Qt derlemeye çalışıyorum, ancak başka hiç kimsenin görmediği bazı çılgın sorunlar yaşıyorum (en azından geçmişte okuduğum şeye göre)). iOS için Qt derleme (UIKit deniz feneri)
Ben bu makaleden talimatları takip: article url- ben git den bir son Qt 4.8 klonlanmış:
$ git clone git://gitorious.org/qt/qt.git
ben bunaqt-lighthouse-ios-simulator
klasörü cd yaptı.
ben bu hataları olsun
yes
Ben anlaşmasını kabul $ ../qt/configure -qpa -xplatform qpa/macx-iphonesimulator-g++ -arch i386 -developer-build -release -opengl es2 -no-accessibility -no-qt3support -no-multimedia -no-phonon-backend -no-svg -no-webkit -no-scripttools -no-openssl -no-sql-mysql -no-sql-odbc -no-cups -no-iconv -no-dbus -static -nomake tools -nomake demos -nomake docs -nomake examples -nomake translations
o
pensource lisansı: In file included from /System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Accessibility.h:13, from /System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIServices.h:49, from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:34, from generators/mac/pbuilder_pbx.cpp:56: /System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXUIElement.h:65: error: CGCharCode has not been declared /System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXUIElement.h:65: error: CGKeyCode has not been declared
sonra
typedef u_int16_t CGCharCode; /* Character represented by event, if any */ typedef u_int16_t CGKeyCode; /* Virtual keycode for event */
typedef unsigned short u_int16_t; /* compile, god damn you!!! */
Şimdi her şey derlenmiş ama bu bağlayıcı hata oluştu: sıkıştım nerede
ld: in /System/Library/Frameworks//CoreGraphics.framework/CoreGraphics, missing required architecture x86_64 in file for architecture x86_64
burada. Herhangi bir yardım?
ek bilgiler:
- gcc version: i686-elma-darwin10-g ++ - 4.2.1
- iOS SDK: 10.6: ben hem 4.2 ve 4.3
- OS X sürümü var. 7
- Xcode sürümü (bu konularda varsa): Ben OS ile farklı bir Mac üzerinde aynı şeyi çalıştı 4.0.2
Linker seçeneklerinde bir yerlerin bir '#import' ve 'frame coreGraphics' eksik olması gibi görünüyor. –
@JakePetroules Linker satırına elek-core CoreGraphics'i el ile ekledikten sonra, elimde ne var: 'ld: uyarı: dosya /System/Library/Frameworks//CoreGraphics.framework/CoreGraphics öğesinin göz ardı edilmesi, mimaride x86_64 mimarisi eksiktir 've daha sonra gelen hata. – stanson