Has anyone had success deploying pyqt to iOS with pyqtdeploy? [closed] - ios

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have been using PyQt for years and would love to be able to use for an iOS app now that both apparently support it. However, I have never had any luck with pyqtdeploy. The tutorial is hard to follow and the build errors difficult to read.
Has anyone had any success with this? Or possibly with another PyQt5 deployment method for iOS?
Thank you!
EDIT
I installed everything with homebrew: qt5#5.8.0, python3#3.6.0 pyqt5#5.7.1; and pyqtdeploy-1.3.1 installed with pip3. I also tried the pyqtdeploy-1.3.2.dev1612281206 snapshot installed from source. I ran into so many problems that I wasn't interested in getting into troubleshooting a specific problem. The wording of the tutorial is just difficult to follow, it's hard to tell which file he is talking about and in what directory, and where the SYSROOT variable should point, where the qmake symlinks go, etc. There are also lots of build errors for missing files which I was unable to track down, for example "/$SYSROOT/lib/python3.5/_bootlocale.py", or some arc file which I can't pull up right now. It also seems to top out at python3.5 and doesn't work with python3.6 which is all the hombres offers right now. It just seems like such a mess that I would simply ask if anyone has actually had success with it and start from there.

We'll, I'm answering my own question now that I've had some success with pyqtdeploy and iOS. I got to the stage of signing the app but don't have a developer certificate at the moment so it of course failed. I have not yet deployed to the iphone simulator because pyqtdeploy does not prepare the correct architecture when deploying to the iPhone simulator.
As a beginner with pyqtdeploy the tutorial was an inadequate starting point. I had to skip to the chapter about building the sysroot. So I would say this is mostly a documentation issue.

Related

Annotating data in Doccano [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 11 months ago.
Improve this question
Does anyone know why I do not get the tags in my dataset as shown on the tutorials/examples? I've highlighted a Dutch word with the tag 'direct medical relevance' but it doesn't appear as tagged when I press the label shortcut.
Does anyone know how to fix this?
Seems like a bug to me, the project repo was updated a few days ago.
The demo has the same problem for me as the one you describe, meaning that nothing happens on mouse button release and I can't set any labels: https://doccano.herokuapp.com/demo/sentiment-analysis
The NER demo which uses a slightly different script still works for me: https://doccano.herokuapp.com/demo/named-entity-recognition
So you could see if you find an issue for this problem (or write one yourself) or you can try to clone and go to an older commit before this problem.
From my personal experience while I found Doccano alright to work with for a while I found there to generally be a lot of bugs and quirks around the frontend interface which can give you a hard time if you try to annotate a large corpus. Also I dislike the fact that you can annotate string spans which are not following the token spans, since that caused me to misclick and having to correct it a lot, but that might be a personal issue. I switched to Universal Data Tools Named Entity Recognition Tool which worked better for me since it does the mentioned things differently and can be run entirely in the browser.

Assuming Development on a Ruby On Rails App? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
I wanted to get a bit of advice from the StackOverflow community on best practices/guidelines when inheriting a Rails app from another developer.
I am currently in the process of assuming control of development at my place of work. I have decent experience in front-end, SQL/Mongo, and Node.js, and a good amount of knowledge of Ruby. However, I do not have very much experience with Rails, per se.
The previous developer is being fairly unhelpful in providing dependencies and software versions of the various packages in use by the app. However, I have been able to get the following information and I have installed these dependencies (although they may differ from the versions needed by the app):
Postgres
Heroku CLI
AWS CLI
Redis
Sidekiq
AngularJS
Would any of you guys be able to briefly delineate the next steps of getting a previously existing app running (or point me to another source)?
Any help you all can provide is much appreciated. Thank you!
Things you need to retain:
Access credentials to all production servers and used services (including domain name and backup servers if there are any). It is not obligatory to be you, but someone at the company should have them (there may be some security/privacy related issues).
Access to source code
A fresh production backup (if possible)
Most of versions can be inferred from production system once you have full access.
Some others (like sidekiq etc) are in Gemfile.lock and yarn.lock files.
Then try to bring the system up from the backup - if you succeed - you'll be sure that everything is ok

General Questions about Copyright and iOS 11 Warnings due to old Frameworks [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
How is it with the copyright? For example I have linked a button to a Facebook page in my App and on the Button I've put a small image of the Facebook Icon, where do I have to mention the copyrights?
And Code copied from Stacksocial doesn't have copyright?
I have some really small Images in my App, is it important to convert them for 2x 3x ? for example:
https://imgur.com/a/88p8E
With the new release of Xcode 9 and ios 11 I have a warning: update to recommend setting. And I tried but it destroyed my App because the frameworks needed to update as well. Can I ignore the Warning? Because the App works just fine on ios 11.
Thank you very much! :)
If unsure how to deal with copyright, a lawyer is your best friend. A 1hr consultation should be more than enough to give you an introductory tour of this world and make you feel at ease. Highly recommended if you have no clue what are you getting into. A good online resource to get to know what the different typical open source licenses are and what they mean is Licenses & Standard | Open Source Initiative
It is typically a good idea to provide all pixel density images, if you don't have them or want to easily generate the various images, there's a good tool on the Mac App Store named AssetsProcessor
You should typically apply the update to your project but not to the framework. That does mean that you will have build warnings; something you have to learn to live with until you feel comfortable branching off the different frameworks and updating them yourself. Overall yes, learning which warnings are safe to ignore and which ones should be addressed is important. There's no magic here, except TEST, TEST and TEST to ensure that ignoring a warning won't be the death of your app.
Good luck!

Has anyone compiled iGraph, graph layout library, for iOS? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Is it possible to compile iGraph, graph layout library for iOS?
I haven't. I don't know anybody who has. But I've also never heard of it before.
The website claims it is written in C/C++, so in theory you should be able to get it running on iOS. You may need to make some modifications.
Looking more closely at the documentation, it appears to be a plain C API (even better!) so it should be fairly easy to compile for iOS. You will probably have to edit the Makefiles to have it cross-compile for ARM (instead of Intel).
However, the source code is published under the GNU GPL. There are clauses in the GPL that conflict with clauses in the Apple Developer Program Agreement (I forget the specifics but it should be easy enough to research). This means that if you got it working in an app, you couldn't put it on the App Store without either Apple or the iGraph developers offering you different terms.
Not sure about iGraph, but I've been thinking of trying Core Plot.
It's a graph plotting 3rd-party iOS framework.
Not a lot of documentation, but you can see some apps that already use it if you browse their site.
Not sure why you got voted down. Happens.
Edit:
Oh, in that case, this question might help: https://stackoverflow.com/a/5074186/1126783

How to downgrade iPhone 3GS to iOS 4.x? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I've spent a whole day trying the different solutions one can find by Google-ing this.
Using Xcode to downgrade
Downloading the firmware image and providing it to Xcode
Using iTunes
Using an old computer that the phone was sync'ed to back in 2009 (funny enough, I have two of them)
Using the iRestore and libusb
So far the only thing I've seen is the phone getting stuck in DFU mode or a message saying that it can't be downgraded (I forget the exact language).
It would seem that Apple would provide for a way for developers to do this sort of thing without this much pain an agony. I have eight iOS devices, four of which are permanently devoted to development, two iPods and two iPhone 3GS. The two iPods stayed with iOS 4.x. Both 3GS's where accidentally upgraded to iOS 5. I wanted one to stay with 4.x for the time being.
Do I have any options beyond what I've tried?
Apple: A little developer love would go a long way here. It's enough to have to deal with all the stuff that breaks from release to release of the OS and Xcode. At least make this easy.
Pretty please?
With sugar on top?
(Had to try)
The question was marked closed. I don't understand why.
According to the FAQ:
"Stack Overflow is for professional and enthusiast programmers, people who write code because they love it. We feel the best Stack Overflow questions have a bit of source code in them, but if your question generally covers …
a specific programming problem
a software algorithm
software tools commonly used by programmers
practical, answerable problems that are unique to the programming profession
… then you’re in the right place to ask your question!"
This question relates to software tools commonly used by programmers working on iOS devices.
And, in fact, it is a huge problem due to the fact that it impedes proper testing on the platform. Perhaps someone in this community has better ideas that can be brought to the surface. That was the intent.
"Questions on Stack Overflow are expected to generally relate to programming or software development in some way"
I think this question definitely relates to software development.
Re-open it please. This is a big problem.

Resources