View Single Post
Posts: 309 | Thanked: 519 times | Joined on Oct 2010
#115
Originally Posted by gionni88 View Post
Installed, and it works ofc. Good job!
Do you kill the process directly? I guess you do, since the front camera indicator led doesn't shut down as it should.
The led doesnt shut down? It does for me. And I kill it with a "killall gst-launch-0.10" command, which seems to work well... but yeah I dont terminate the QProcess....its gonna be tricky terminating from another function. I currently just use:
Code:
QProcess*proc = new QProcess();
proc->start(streamout);
where streamout is just the string "gst-launch blah". How do I make proc accessible from another function? I've already tried adding "QProcess proc;" to the private slot in the header like I would with any other shared variable, but it doesnt work.

Originally Posted by gionni88 View Post
Settings don't get saved between one session and another one: you may use QSettings to do it.
Ah yeah I forgot about that, that should be easy to do

Originally Posted by gionni88 View Post
Ui is fingerfoe: have you set a main layout in desiner?
Yep, but the buttons stretched too big, so I set maximum policies on them..... guesss they're too small now huh? :-D

Originally Posted by gionni88 View Post
ShowDebug button is not so needed, it can be swapped with maemo standard banners (QMaemo5InformationBox, and add QT += maemo5 in project file, than run qmake) to save space.
definitely, I just needed something to output to (Im not sure how to output to the qconsole...

Originally Posted by gionni88 View Post
The calibrate window is in window style? Use a message box with detailed text instead (QMessageBox) to be more hildon oriented.
Nope, it's actually a qwidget that lies over the mainwindow as hidden at startup. for some reason I can't hide it again, so I have to inefficiently QSize it to nothing....

Originally Posted by gionni88 View Post
Binary is a bit big just to be a front end. Have you compiled it as release or debug?
Package is not optified, it installs in /usr/local/bin
It's debug, I didnt realise there was a difference.... and opt will not be a problem..

Thanks for the feedback man, I can't promise I'll get it done soon since I've been ignoring other work of mine... but hopefully in a few weeks...

Edit: I also forgot to add dependencies, and am now editing my control file....

Last edited by tetris11_; 2011-03-08 at 13:34.