maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Windows Python and Qt in 30 mins (https://talk.maemo.org/showthread.php?t=43663)

Spotfist 2010-09-22 08:41

Re: Windows Python and Qt in 30 mins
 
I am running 32 bit and get the error I will uninstall python and try a newer version if I can find one... As I said in my earlier post though, I installed pythong 2.6 I think and then the latest version of QT designer and an error came up saying the version where different...

Spotfist 2010-09-22 09:55

Re: Windows Python and Qt in 30 mins
 
Re-installed python, no result. Re-installed QT designer 2.6 v4.7.7.1 from the link in the first post and it now works. No change from the first time but for some odd reason it works... ;)

Biglines 2010-10-16 21:20

Re: Windows Python and Qt in 30 mins
 
I've got the py file, but after copying to /home/opt/ and going to xterminal, typing
python helloworld.py
it says:
python: can't open file 'helloworld.py': [Errno 2] No such file or directory

where should I put the python files in order to run them?

edit: nevermind, I should navigate to /home/opt/ before running the file

ejasmudar 2010-11-26 04:18

Re: Windows Python and Qt in 30 mins
 
I wanted to try this, but first, is QT designer portable? Or is a portable version available? I want to carry it on a flash drive so that I can code while travelling. I did find a portable python IDE so I can write console based apps on the go. So is there something similar for GUI designing with QT?

eitama 2010-11-26 16:59

Re: Windows Python and Qt in 30 mins
 
Quote:

Originally Posted by ejasmudar (Post 883459)
I wanted to try this, but first, is QT designer portable? Or is a portable version available? I want to carry it on a flash drive so that I can code while travelling. I did find a portable python IDE so I can write console based apps on the go. So is there something similar for GUI designing with QT?

Qt Designer is not portable, But, You can use PySide or PyQt
to code GUI and everything for N900 using Python, no just terminal apps.
You can write a full app with Python and it will have everything a C++ app has.

Python you can write anywhere you want :)
You can even write these apps on your n900 :)

jjw 2013-12-31 00:26

Re: Windows Python and Qt in 30 mins
 
When it came to running the command "pyuic4 -x helloworld.ui -o helloworld.py" using windows, I got the following error:

"H:\folder1\Dec 30 Module test\python" is not recognized as an internal or external command, operable program or batch file.

I have seen many articles of people executing this line and having no issues. I do not know what I am doing wrong.

m4r0v3r 2013-12-31 03:08

Re: Windows Python and Qt in 30 mins
 
Quote:

Originally Posted by jjw (Post 1402331)
When it came to running the command "pyuic4 -x helloworld.ui -o helloworld.py" using windows, I got the following error:

"H:\folder1\Dec 30 Module test\python" is not recognized as an internal or external command, operable program or batch file.

I have seen many articles of people executing this line and having no issues. I do not know what I am doing wrong.

am sure somebody knows more than me, but pyuic is no longer the command used. Qt has come a long way since this video and uses QML

shawn_garcia 2019-10-28 05:11

Re: Windows Python and Qt in 30 mins
 
Thanks for sharing your views with us this will surely help me a lot in future!!


All times are GMT. The time now is 01:09.

vBulletin® Version 3.8.8