How to add PyQt plugin into py2app - pyqt

I was trying to add the plugin "plugins/bearer/qgenericbearer4" to a PyQt app.
Though i had added
`'qt_plugins' : ['bearer',],`
to the OPTIONS in the setup.py my application still can't use the plugin.
If i'm doing anything wrong please let me know.

Do you have a sample project that demonstrates the problem?
This may be fixed in py2app 0.8 (current release), I've merged a bug fix that affected support for Qt plugins.

Related

Godot Engine crash when Export with custom build template

I was following a tutorial of setting up a custom build for Android in Godot from this link. I am very sure that I have followed all the instructions, but godot engine always crash (white screen) without showing any error message, when i tried to use one-click deploy. The screen stuck at here:
I am using Godot 3.2.2. Anyone please help.
I also got the same problem first. In my case, the problem was with JDK version mismatch. Make sure you are using the jdk-8.0.265.01-hotspot version.
here is my screenshot: Editor Setting > Android

Unresolved support library imports after updating to 3.1.1

I have just updated to Android Studio 3.1.1, and now all my support library related imports are shown as broken (see screenshot attached), even though the app successfully builds and can be installed on a device. Is there a way to fix this? Thanks.
I had the same problem also
and resolved it by using support version 27.1.1.
Indeed, using support library version 27.1.1 fixed the problem.
Thanks, whoever commented and then deleted their comment - good thing I noticed it :)

Swiper on 9.01 fix pack 7

I just installed fix-pack7 and discoverd that my swiper plug-in was gone
Tried to reinstall, but message says "No acceptable features were found.." when installing from update site
Anyone experience the same ?
Can you check if the feature is still installed, but disabled? Go to:
File-> Application -> Application Management
and then try to find the Swiper Feature in that list. See if it has a 'disabled' icon, and if so, enabled the feature again.
It sounds like it would not suggest to install the feature because it thinks that it already has the feature installed (albeit disabled).
I have heard in previous upgrades, that some installed features become disabled after upgrade.
If this is not the case then please let me know. And I will look into it further.
I have not upgraded to FP7 yet, but if anyone reading this has upgraded to FP7 and has Swiper working fine please add a comment or let me know.

JavaFX missing from JDK 1.7/1.8 in Linux?

I have a problem that allegedly isn't possible, so I'm having a heck of a time finding an answer.
I have the latest version of NetBeans 7.4, running on fully-updated Fedora 20 x64. Officially, this can work with JavaFX. Period. I have both the JDK from the repo (1.7.something) and the very latest version I could find (1.8.0). Officially, these have JavaFX with them. Period.
If I try to create a new JavaFX project, it has this to say:
Failed to automatically set-up a JavaFX Platform.
Please go to Platform Manager, create a non-default Java SE platform, then go to the JavaFX tab,
enable JavaFX and fill in the paths to valid JavaFX SDK and JavaFX Runtime.
Note: JavaFX SDK can be downloaded from JavaFX website.
Well alright, I'm used to things getting confused, I think I can fix this. Go create a new platform, and... there's no "JavaFX" tab. It took a bit of research to even find out what it was talking about, and in the process I discovered that the tab has actually been removed from 7.4. Because NetBeans 7.4 will absolutely, definitely recognize JavaFX automatically. Period.
Going to the actual JavaFX site tells me, as expected, that it's bundled with the Java SE 7 JDK I already have. Period.
Since the end result I'm after could technically be achieved by integrating one JavaFX component into my Swing application, I attempted that, but NetBeans still can not find anything related to JavaFX and therefore yells at me if I try to import such a thing.
So, given that things that are supposed to just plain work just plain aren't... where can I go from here?
Currently in Debian and Ubuntu (probably others) JavaFX is a separate package from the OpenJDK (openjdk-8-jdk) and so needs to be installed:
sudo apt-get install libopenjfx-java libopenjfx-java-doc
Notable issue (this issue does not impact a Maven, JavaFX application so if that is your preferred build method then ignore the following issue):
If you try to create a new project:
Categories > JavaFX
Project > JavaFXApplication
You'll get:
Internal error. Missing resources [/resources/web-files/javafx-loading-100x100.gif]
/home/ken/NetBeansProjects/vestFxReports/nbproject/jfx-impl.xml:1465: The following error occurred while executing this line:
/home/ken/NetBeansProjects/vestFxReports/nbproject/jfx-impl.xml:3093: The following error occurred while executing this line:
/home/ken/NetBeansProjects/vestFxReports/nbproject/jfx-impl.xml:2055: Error: -includedt requires the java deployment toolkit, which is not included in this distribution
BUILD FAILED (total time: 1 second)
To fix the above error [following steps are derived from here: http://hongouru.blogspot.com.uy/2015/09/solved-error-building-new-project-using.html]:
Switch to the files tab (usually you're on the Project tab).
Expand the node for your project >
expand the nbproject node > open the "project.properties" file.
Find the line javafx.deploy.includeDT=true and change true to false.
Now you can create and run a JavaFX application, on OpenJDK.
Next steps, although beyond the issue at hand you'll probably at some point want to download the JavaFX scene builder: http://www.oracle.com/technetwork/java/javafxscenebuilder-1x-archive-2199384.html
Apparently, the issue is indeed a discrepancy between the open-source OpenJDK provided by most Linux distributions, and the proprietary Oracle JDK. Ironically, this is a well-known issue, but you have to specifically search for it to find it, and by then you already know.
The solution is to download the official Oracle JDK, and if necessary create the matching platform in NetBeans (located under /usr/java/jdk... at this moment). It should work perfectly fine after that.
Perhaps the official documentation
https://netbeans.org/kb/docs/java/nb_fx_screencast.html
https://netbeans.org/kb/72/java/javafx-setup.html
may help you to set it up

Unable to select BlackBerry 9800 as default web simulator on Eclipse

I have some time now working with the BlackBerry's Eclipse Plugin with no issues using the Curve 8530 Simulator. Im trying to add the Torch 9800 Simulator but I get this:
Im pretty new on the BB Stuff.
Im I missing something?
Is there a debug-enabled version (I check and apparently the version that I have should be pretty capable of debugging)?
Help will be appreciated.
Edit: I noticed that I can only add simulators using OS v.5 (e.i BlackBerry Storm2 9550). But the why is still a mystery to me.
I've been looking for this issue for over a week, and the only think i can think of (yet not confirm) is that there are no debugging versions for OS other than 5x.
I was able to debug using all available models for OS5x (Pearl, Tour, Storm, Storm2, Bold, Curve)
So the official answer to this (until some one comes up with a more complete one) is...
There is no support for web debugging on versions other than OS 5x Simulators.
Not quite, I have a 4.6.0 simulator here (8220 "T-MobileEU" branded) that is debugging capable, but my 5.0.0 simulator (8530) is not listed as capable. The confusion continues.

Resources