The Following 3 Users Say Thank You to texaslabrat For This Useful Post: | ||
![]() |
2009-09-07
, 19:06
|
|
Posts: 1,878 |
Thanked: 646 times |
Joined on Sep 2007
@ San Jose, CA
|
#232
|
Each platform needs an architecture-specific compilation done to get an executable.
The Following 3 Users Say Thank You to johnkzin For This Useful Post: | ||
![]() |
2009-09-07
, 19:13
|
Posts: 271 |
Thanked: 220 times |
Joined on Sep 2009
|
#233
|
That's not completely true. If they have the same CPU family (meaning same instruction set architecture/binary-image), and the same executable file format (ELF, DWARF, etc.), then mostly what you really need from there is compatible library layers. That is, as long as no one is doing things like system() calls (ie. stick to QT calls, and things in the libraries you've provided for compatibility, and you're ok).
![]() |
2009-09-07
, 19:30
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#234
|
That's not completely true. If they have the same CPU family (meaning same instruction set architecture/binary-image), and the same executable file format (ELF, DWARF, etc.), then mostly what you really need from there is compatible library layers. That is, as long as no one is doing things like system() calls (ie. stick to QT calls, and things in the libraries you've provided for compatibility, and you're ok).
The Following 2 Users Say Thank You to attila77 For This Useful Post: | ||
![]() |
2009-09-07
, 19:41
|
|
Posts: 1,878 |
Thanked: 646 times |
Joined on Sep 2007
@ San Jose, CA
|
#235
|
You'd have to stick to a lowest common denominator (which can be really low, depending on how old Symbian/ARM sets do you want to support) and at that point it's not that attractive anymore (as you loose all the fancy extensions which actually constitute a large part of the improvements).
![]() |
2009-09-07
, 20:20
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#236
|
The Following 2 Users Say Thank You to attila77 For This Useful Post: | ||
![]() |
2009-09-08
, 02:15
|
|
Posts: 3,524 |
Thanked: 2,958 times |
Joined on Oct 2007
@ Delta Quadrant
|
#237
|
The Following User Says Thank You to Capt'n Corrupt For This Useful Post: | ||
![]() |
2009-09-08
, 02:27
|
|
Posts: 1,878 |
Thanked: 646 times |
Joined on Sep 2007
@ San Jose, CA
|
#238
|
Haha.. I love this community!
In this day and age, I think that bytecode is the way to go. I feel there's a good performance to portability tradeoff.
The Following User Says Thank You to johnkzin For This Useful Post: | ||
![]() |
2009-09-08
, 04:25
|
|
Posts: 3,105 |
Thanked: 11,088 times |
Joined on Jul 2007
@ Mountain View (CA, USA)
|
#239
|
The Following 3 Users Say Thank You to qgil For This Useful Post: | ||
![]() |
2009-09-08
, 11:04
|
Posts: 75 |
Thanked: 11 times |
Joined on Feb 2008
@ Bay area, CA // Kampala, Uganda
|
#240
|
![]() |
Tags |
display, fremantle, landscape, maemo, maemo 5, orientation, portrait, portrait v. landscape war, use-case |
Thread Tools | |
|
In this way, it's similar, yet different from Java. Java bills itself as "write once, run anywhere" when it is more aptly labeled "COMPILE once, run anywhere" due to the production of platform independent bytecode and the presence of platform-specific virtual machines on each target. QT, on the other hand, is more strictly "write once, run anywhere" since you write the code once, but then you compile it for your targets.
Last edited by texaslabrat; 2009-09-07 at 18:45.