maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Why it isn't stackable window? (https://talk.maemo.org/showthread.php?t=43563)

nilsbenson 2010-02-07 06:58

Re: Why it isn't stackable window?
 
QWidget is not typically meant to be a "full window". In 4.5 you will have to use a QMainWindow to get proper stacking. Make sure you either inherit from it, or use your QWidget derived class with one (via setCentralWidget()).

Figa 2010-02-07 09:37

Re: Why it isn't stackable window?
 
Quote:

Originally Posted by VDVsx (Post 513775)
Probably your setup is not correctly configured or some packages are missing. Did you followed the instructions in the page that I posted here ?
You also need, at least, 'qtlib4-maemo5-maemo5', try also to compile your app directly under scratchbox to see if the problem is in your esbox setup, don't forget to use qmake under '/opt/qt4-maemo5/bin/qmake' since you're running Qt 4.6.

I have installed 'qtlib4-maemo5-maemo5' . Probably I have a problem in esbox and eclipse, because after install qt 4.6 in scratcbox, eclipse installed qt 4.5.3 . Can you help me with setting esbox and eclipse? Excuse for my stupid question. Thank you very much.

Figa 2010-02-10 22:03

Re: Why it isn't stackable window?
 
Can you help me with settings Qt 4.6 in esbox and eclipse,please?

VDVsx 2010-02-10 22:48

Re: Why it isn't stackable window?
 
Quote:

Originally Posted by Figa (Post 520230)
Can you help me with settings Qt 4.6 in esbox and eclipse,please?

Sorry I don't use esbox, can't help you, try to read the esbox documentation, if you still can't configure it, start a new thread on this topic.

Figa 2010-02-11 21:32

Re: Why it isn't stackable window?
 
Thank you for everything. Can I ask for you? What are you using for development?

VDVsx 2010-02-11 21:43

Re: Why it isn't stackable window?
 
Quote:

Originally Posted by Figa (Post 521951)
Thank you for everything. Can I ask for you? What are you using for development?

Qt Creator as IDE(best Qt IDE IMHO) and the Maemo SDK(scratchbox) as a compiler, but there's also MADDE[1].

[1] - http://wiki.maemo.org/MADDE

Figa 2010-02-12 10:08

Re: Why it isn't stackable window?
 
THX i have qt creator how set a scratchbox for build?

VDVsx 2010-02-12 12:11

Re: Why it isn't stackable window?
 
Quote:

Originally Posted by Figa (Post 522714)
THX i have qt creator how set a scratchbox for build?

At least the version that I've doesn't support direct built inside scratchbox(should be supported in the future).
What I do is, I use Qt Creator as a IDE only, and keep a scratchbox console open all the time where I compile the program(make) and run it. Usually I test the programs directly in the device that is connected using ssh.
Is not a simple setup, but everyone have personal preferences ;)

Sasler 2010-02-12 18:42

Re: Why it isn't stackable window?
 
This worked for me. But I didn't need this line:
Code:

win2->setAttribute(Qt::WA_Maemo5StackedWindow);
I'm using Qt 4.5.


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

vBulletin® Version 3.8.8