I'm trying to package an AIR 3.3 Native Extension for the iOS-Simulator with the following command:
adt -package -target ane MyANE.ane extension.xml -swc MySWC.swc
-platform iPhone-x86 library.swf MyLib.a
But I keep getting the following error:
Missing 'library.swf' for platform: iPhone-x86
I am creating the swc with the Flex 4.6 SDK overlayed with AIR 3.3. I'm using -swf-verion 14 and the 3.1 Namespace. I'm extracting the library.swf file from the same swc.
It seems like I'm doing everything by the books so I have no idea why it won't package.
Any help is greatly appreciated.
Ok, so the solution is to run the command from the same path/level as the MySWC.swc file. I was using
-platform iPhone-x86 /Users/Me/library.swf
this won't work.
Try it:
http://www.adobe.com/devnet/air/articles/ios-simulator.html
Related
I'm trying to cross compile qml for Raspberry pi 3 on a x64 Ubuntu.
I followed this tutorial
https://wiki.qt.io/RaspberryPi2EGLFS, installed Qt 5.6.3 and managed to run QtWidgets applications pretty easily and I'm now looking to use QML.
From what I understood, I need to install qtjsbackend and qtdeclarative for it to work so I cloned the github repositories and installed qtjsbackend without any trouble.
now, when I tried to run qmake on qtdeclarative, I got some weird errors:
/home/myname/raspi/qtdeclarative/src/src.pro:13: 'qtConfig' is not a recognized test function.
It keeps going on until:
Reading /home/myname/raspi/qtdeclarative/tests/auto/qml/debugger/qdebugmessageservice/qdebugmessageservice.pro
Project ERROR: Unknown module(s) in QT: qmldebug-private
I can't find anything on the internet about this, does anyone have an idea of what to do ?
The qtjsbackend requirement is old, and only needed for Qt 5.1. Newer qtdeclarative no longer use v8 as a JavaScript engine.
The error you are getting there is caused by a mismatch of version dependencies. You are trying to build a qtdeclarative that looks like it is from either a 5.8/5.9 or dev branch against a qtbase that you say is 5.6. If you have Qt 5.6, you want to build the same major & minor version for qtdeclarative, i.e. 5.6 (or a 5.6.x release)
I would suggest that you either use qt5.git to get you all the dependencies of the version that you need, or use the tarball releases which contain everything in one "blob".
Alternatively, you should be able to install it from your distribution. I would expect that it is already packaged there, though it may not be the newest version possible.
I faced same problem and tried following
Try checking out 5.7 branch from your git repo for qtdeclarative,
git checkout 5.7
then qmake, make and make install.
Hope this helps.
Cheers
I am using Qnx on PandaBoard Es and try to develope Qt application.
If I run qt application on qnx,I get error as following
Fontconfig error: Cannot load default config file
Apllication is open but fonts aren't shown.
What can I do solve this problem.
Regards.
Did you read this instruction and applied decribed tips? By default "QNX SDP 6.6 does not provide fontconfig" so I think you should install some additional packages.
A straightforward issue for java new comer:
IMO, Java should keep backward compatible, so a jar built with JDK5 should work on JRE6 or high environment, but the converse case should fail.
However from the netty page,
https://github.com/netty/netty/tree/netty-4.0.17.Final,
I found the following:
You require the following to build Netty:
Latest stable Oracle JDK 7
Latest stable Apache Maven
Note that this is build-time requirement. JDK 5 (for 3.x) or 6 (for 4.0+) is enough to run your Netty-based application.
This really confuses me, could anyone can help explain this?
Yes, if you specified proper -source and -target option to the javac. Netty's pom.xml specifies -source 1.5 and -target 1.5 to ensure that.
I created an application using Imagemagick library with Qt on Mac.
Now that I want to deploy the application for windows:
I installed the imagemagick library
on my pc,
I installed the SDK version of QT 4.7
I added my include and lib paths
And when I go run the application I'm getting errors that I think they are related to mingw32.
here are the build issues:
and here is the compile output:
Can someone Identify the error ?
What do I have to do to deploy the application for windows?
I also tried to use a Mingw32 version of my library but again, It didnt work:
When I put -lmagick after the lib it says file lmagick cannot ne found
and when I try to build unticking the shadow build checkbox in the build settings, it give me the errors in the first screenshoot. Thank you
See the answer to this question.
I built a qt application that uses opengl on linux and am trying to build it on windows. I used g++ to make it on linux and am using command line nmake for Visual Studio 2005 to build it on windows. When I tryed to build my application I typed
qmake -makefile app.pro
nmake
The nmake failed and said "bool qt_win_owndc_required"... already defined in QtOpenGld.lib ..
one or more multiply definded symbols found
When I tried building one of the examples (hellogl) with opengl it resulted in the same error message. But when I tried building a different example without opengl it worked fine. Do I need to do something special to build the opengl library correctly? Is there something that I am not thinking of?
Are you running qmake in a Visual Studio 2005 Command prompt?
A google search turned up this post: http://www.delta3d.org/forum/viewtopic.php?showtopic=15723
The guy fixed the problem by rebuilding the source.