Jul 9, 2018 17:53
Any clue if I should focus on getting it working with qt4 (which seems default) or try to get it working with qt5?
Jul 9, 2018 17:39
@CharlesDuffy Updated the question accordingly. Also tried a few more ways which didn't work. Sorry for the not well though through the question - It's my first python project, the initial agreement wasn't to make it a .exe and now they want a .exe asap. It's a little bit frustrating that packaging this takes over double the time of the entire project itself.
Jul 9, 2018 17:39
@CharlesDuffy Updated the question with the results from explicitly importing them and setting the a backend (Honestly, don't really care which UI toolkit I'm going to use, I simply want to manage to build it)
Jul 9, 2018 17:39
@CharlesDuffy There you go, I've edited the question. Yes, I've reviewed that question a few times now. Keep in mind, that's for Pyinstaller and I get that error on cx_freeze. The error I get with pyinstaller is totally different.
 

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
Dec 8, 2016 11:54
Or are there any better pratices for what I'm trying to achieve
Dec 8, 2016 11:53
I have a quick question: I'm trying to avoid a callback hell when using "third party" functions. For example when using fs.readFile how can I pass extra arguments to the function so don't lose scope.
 
Jun 29, 2016 11:54
@NitinGohel I can't seem to find an override for the setter of contentScaleFactor, I've managed to do what I want by simply setting it over and over again but not sure how good of an idea that is
Jun 29, 2016 11:45
That one only helps with the initialisation, I wanted to change the whole setter
Jun 29, 2016 11:44
I saw that one
Jun 29, 2016 11:41
@NitinGohel What do you mean ? I'm new to swift. I have a class that inherits from UIView
Jun 29, 2016 11:40
How can I override the setter for UIView contentScaleFactor in swift? I see that Objective-C has setContentScaleFactor but I have no clue how to do it in swift
Jun 29, 2016 11:25
Hey folks, I'm trying to "move" the project PhotoScroller from Apple in Swift. At a certain point the have the following function :                                                         - (void)setContentScaleFactor:(CGFloat)contentScaleFactor
{
    [super setContentScaleFactor:1.f];
}                                                                                                                                   I tried to change it in the following way :                                                            func setContentScaleFactor(contentScaleFactor: CGFloat) {