Active Topics

 


Reply
Thread Tools
Posts: 2,290 | Thanked: 4,133 times | Joined on Apr 2010 @ UK
#1
Hi, all

Currently my situation is....

I am trying to make a GUI interface for an application in fremantle devel-repo.

I started in Python but ended up using Qt Creator and Qt for QProcess which made more sense (as the main function is to run scripts).

The main problem is I have little knowledge on coding. I would really appreciate if someone would be intrested in helping me with my project.

I have gone wrong somewhere and have a few "Issues" in the code that hopefully someone can help with/explain.
I have looked through an fair amount of posts and wiki's and I still none the wiser on these "Issues". That said I am sure it would be easy for someone that knows C++.

Hopefully if I can get this project to work and package it, I plan on adapting it to make a completely new application.

I suppose the best way is to attach the files so you can see were I've messed up...

Any help would be great, thank you!
Attached Files
File Type: gz version_0.0-1.tar.gz (78.0 KB, 126 views)
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.

Last edited by sixwheeledbeast; 2012-12-01 at 13:13.
 

The Following 4 Users Say Thank You to sixwheeledbeast For This Useful Post:
Posts: 2,290 | Thanked: 4,133 times | Joined on Apr 2010 @ UK
#2
Well progress has been made ... sort of!
After much trial and error, I worked out that the Issues were from not coding the additional Forms and QWidgets etc correctly, which is no suprise.
So I decided to keep it simple and have one window, four buttons (removing the Menu bar and other forms) and it runs in QtCreator with no problems.
This is were I am stuck again, I can't get the application to run on my N900.

I have tried to run via Mad Developer, I can connect OK but run comes back with an error
Code:
"mkdir cannot create opt/<program>"
"Unable to to upload"
I have no idea why Publish on my QtCreator comes back with
Code:
"Publishing is currently not possible for project"
I have even tried to package a .deb following the wiki's, the application installs but will not run on my N900.

Any help will be most appreciated, thank you.
Attached Files
File Type: gz version-0.2.tar.gz (41.0 KB, 94 views)
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.

Last edited by sixwheeledbeast; 2012-06-17 at 13:44. Reason: Fix code boxes
 

The Following User Says Thank You to sixwheeledbeast For This Useful Post:
bingomion's Avatar
Posts: 528 | Thanked: 345 times | Joined on Aug 2010 @ MLB.AU
#3
Wow your brave!

I've never heard of mad developer, I guess you have read all of this:
http://doc.qt.nokia.com/qtcreator-2....-maemo-devices

Connecting via wifi looks the easiest..
 

The Following User Says Thank You to bingomion For This Useful Post:
Posts: 2,290 | Thanked: 4,133 times | Joined on Apr 2010 @ UK
#4
Originally Posted by bingomion View Post
Wow your brave!

I've never heard of mad developer, I guess you have read all of this:
http://doc.qt.nokia.com/qtcreator-2....-maemo-devices

Connecting via wifi looks the easiest..
Yes, I have thanks.
WiFi is easier, although I have to switch power saving off on the device.
Connecting to the device isn't the problem, running the build is.
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 

The Following User Says Thank You to sixwheeledbeast For This Useful Post:
bingomion's Avatar
Posts: 528 | Thanked: 345 times | Joined on Aug 2010 @ MLB.AU
#5
I cant really help sorry.. Although im thinking of installing qt and trying it while its still online!

Maybe put up more details.. Ie error msg or log?

Im sure its something simple/obvious.. Maybe google the publishing process?
 
Posts: 2,290 | Thanked: 4,133 times | Joined on Apr 2010 @ UK
#6
Originally Posted by bingomion View Post
I cant really help sorry.. Although im thinking of installing qt and trying it while its still online!

Im sure its something simple/obvious
Well the Publishing seems not to work because I don't have Qt SDK, only Qt Creator which makes sense
I can't download the SDK at the moment due to poor internet connection.

I am going to try to manually build the package again as per this
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 

The Following User Says Thank You to sixwheeledbeast For This Useful Post:
Posts: 2,290 | Thanked: 4,133 times | Joined on Apr 2010 @ UK
#7
Still haven't got any further building a .deb that works...
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 

The Following User Says Thank You to sixwheeledbeast For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#8
As .deb packaging, it can be done manually. The question is, if You have code, that actually works in scratchbox/ Maemo emulator/ etc?

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following User Says Thank You to Estel For This Useful Post:
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#9
I have created a deb for you using QT Creator with target Maemo of course.
For just creating the package I used the build and deploy option, not the publish. I am not using ereswap, so I can't test it for you. But your program itself shows the four buttons

Have put it in my dropbox temporary so you can try it yourself: http://dl.dropbox.com/u/42147901/ere..._0_1_armel.deb

Good luck with your development skills....
 

The Following 5 Users Say Thank You to ade For This Useful Post:
Posts: 2,290 | Thanked: 4,133 times | Joined on Apr 2010 @ UK
#10
Originally Posted by Estel View Post
As .deb packaging, it can be done manually. The question is, if You have code, that actually works in scratchbox/ Maemo emulator
Well, no the code doesn't "work" properly, see below.

Originally Posted by ade View Post
I have created a deb for you using QT Creator with target Maemo of course.
For just creating the package I used the build and deploy option, not the publish. I am not using ereswap, so I can't test it for you. But your program itself shows the four buttons

Good luck with your development skills....
Thank you, very much I can see several things that don't work now...


Firstly it will not automatically install dependencies have to manually install ereswap first.

.desktop must be wrong as it will not start from launcher menu.
But it will start via
Code:
/opt/ereswapgui/bin/ereswapgui/ereswapgui
Also the .desktop icon is not working

The four buttons load up but they don't do anything.
Terminal spits out
Code:
QProcess: Destroyed while process is still running
The Mainwindow is still called MainWindow even tho I was sure I renamed it.

UI doesn't redraw on rotation to portrait or back again, which I thought would work.

Oh well
Attached Images
  
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 

The Following 2 Users Say Thank You to sixwheeledbeast For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 00:03.