[Qt] Problem with Qt binding v2.4

Trx TX trx at devbin.org
Mon Aug 22 14:58:47 CEST 2011


Hi,

> Is qwidget not present anymore in the compiled libraries? In Fremantle the
> methods with the deprecated decorator where not present in the binary
> libraries. How did you manage to compile lcl?
>

It is still there and functional, but its use is now discouraged. On 
harmattan it doesn't have a native style, like QML apps have. (Like it has 
in fremantle)

> Tell me which classes you need and I may look into it (but w/o a N950
> I am not sure if this easy)

Well i basicaly need TSynEdit inside a window created by QML 
(QDeclarativeView), that means that i need a TWinControl (is this the only 
way?) that i can use as a parent for LCL controls in order to create/show 
them. Or some kind of handle that i can use as a HWND...
I dont understand very well how LCL works regarding this...

> Given the screen size and the difference in widget layout
> http://users.telenet.be/Jan.Van.hijfte/qtforfpc/maemo_lcl_qt4.png
> I think using Qt directly in FPC seems better than using LCL/Qt.
> I did some programs in FPC/Qt and what is nice that I can easily compile
> and develop on the device. FPC is so fast, compiling the same program
> in C++ is impossible on the device. Meego on a tablet with a large screen
> size would make LCL interesting again.
>
Well, yes but sometimes LCL is needed anyway, for porting apps, etc..
There is no diffrence in wigdet layout as they have no styles, so they look 
identical on the designer and during runtime. You can force one using 
eg. -style cleanlooks when running the executable and it will use this 
style, but it wont change any layout, just the looks of it.

> I did not look into Qt Quick yet.
I personally dont like it, but in order to do some things in Harmattan you 
must use it. For example, to hide the annoying status bar at the bottom that 
every application gets even tho you havent't used any status bars in code...

> I may look into it, but w/o an N950 ... and Meego on the N900 is just
> too slow. The emulator in Qt Sdk is probably also very slow, I tried 
> Debian on
> qemu and it is just too slow.
Yeah, but things will improve hopefuly, they already did, with MeeGo CE.. 
People tested and it works pretty fast on N900 if you have class 6+ microSD 
card.. (I dont so i didnt test)

Svetozar Belic. 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





More information about the Qt mailing list