Differences between Qtopia,QtExtended and desktop Qt
Hi
I have four questions
1-Are the Qt principals same in Qt for embedded systems and Qt for PCs?(except of specific features)
2-Which mobile phone operating systems do Qt support and with which version of Qt every one can be programed?
3-Should we install the embedded versions of Qt on a PC?
4-Can we compile Qt sources in an OS we don't have specific version of Qt for that OS?
thanks alot
Re: Differences between Qtopia,QtExtended and desktop Qt
Re: Differences between Qtopia,QtExtended and desktop Qt
Helloooooooooooooooooooooooooooooooooooo!
Re: Differences between Qtopia,QtExtended and desktop Qt
Could you at least tell me the reason for not answering me?
Re: Differences between Qtopia,QtExtended and desktop Qt
Quote:
Originally Posted by
Dante
1-Are the Qt principals same in Qt for embedded systems and Qt for PCs?(except of specific features)
Yes, it's the same API.
Quote:
2-Which mobile phone operating systems do Qt support and with which version of Qt every one can be programed?
Embedded Linux, Windows CE, Symbian S60 (the latter port is incomplete). They all use recent versions of Qt4.
Quote:
3-Should we install the embedded versions of Qt on a PC?
Yes, if you want to program for Qt/Embedded (Linux) then it's a good idea to build it for your desktop as well.
Quote:
4-Can we compile Qt sources in an OS we don't have specific version of Qt for that OS?
If you're asking if you can cross-compile Qt then yes, you can.
By the way - posting replies to your own posts is a good way of not getting any answers.
Re: Differences between Qtopia,QtExtended and desktop Qt
Quote:
Embedded Linux, Windows CE, Symbian S60 (the latter port is incomplete). They all use recent versions of Qt4
I meant which between Qtopia and Qt embedded.
Quote:
Yes, if you want to program for Qt/Embedded (Linux) then it's a good idea to build it for your desktop as well.
What about others?
Quote:
If you're asking if you can cross-compile Qt then yes, you can.
How?
Quote:
By the way - posting replies to your own posts is a good way of not getting any answers.
Its because i had no answer for three days.
thanks
Re: Differences between Qtopia,QtExtended and desktop Qt
Quote:
Originally Posted by
Dante
I meant which between Qtopia and Qt embedded.
Qt Embedded is an Embedded Linux port of Qt, so Linux based ones. Others use other (dedicated) ports of Qt.
Quote:
What about others?
It's hard to install an S60 port of Qt for a 64bit Intel architecture, I guess. So it doesn't make much sense. With S60 there is a dedicated device emulator where you can test your applications without a device but I guess it needs a port for the target device not for your desktop architecture. With WindowsCE the situation seems obvious - compiling Qt/WindowsCE for Linux wouldn't work. You use a native Linux/Windows implementation of Qt in this case and only cross-compile for WindowsCE just before deploying to the device.
Google for "cross-compiling".
Quote:
Its because i had no answer for three days.
Well... I only read this thread by pure luck. If I didn't, you'd still be without an answer. And if I see a thread with responses I often skip reading it.
Re: Differences between Qtopia,QtExtended and desktop Qt
Quote:
Google for "cross-compiling".
I found nothing.Could you give an address?
And assume I have a program that uses platform specific features of Qt for a platform that is a target of a cross compile.Is it possible to compile those platform specific features in other platforms in a cross compile?
thanks
Re: Differences between Qtopia,QtExtended and desktop Qt
Quote:
Originally Posted by
Dante
I found nothing.Could you give an address?
Strange... Here is a top three from google:
http://en.wikipedia.org/wiki/Cross-compiling
http://linux.bytesex.org/cross-compiler.html
http://www.ailis.de/~k/archives/19-A...ing-howto.html
Quote:
And assume I have a program that uses platform specific features of Qt for a platform that is a target of a cross compile.Is it possible to compile those platform specific features in other platforms in a cross compile?
Cross-compilation is building a binary for a platform different than the one you are compiling on. There is no magic trick involved, no extra features or anything. If a platform supports it and your toolchain version knows how to enable something, it's there. If not, it's not. Cross-compiling is having a MSVC compiler executed on Linux that still builds code for Microsoft Windows. If MSVC knows how to use some Windows-specific feature, it will use it. It won't use any Linux specific features because it is compiling for Windows not Linux regardless of the fact that the actual compilation takes place on the dreaded open source system.
Re: Differences between Qtopia,QtExtended and desktop Qt
I meant When you use windows XP Qt to write a program that you want to cross compile it for linux,you may use the linux specific feature.How the windows XP Qt handle them?
Re: Differences between Qtopia,QtExtended and desktop Qt
Quote:
Originally Posted by
Dante
How the windows XP Qt handle them?
I don't understand. If something is "Linux specific" then there is no support for it on other platforms, only when the application is built for Linux (regardless of the platform that is used to build the program).
Re: Differences between Qtopia,QtExtended and desktop Qt
Hey is it right that Qt transforms its commands to the standard c++?
If it is so the windows version of Qt must be able to transform the linux specific commands to standard c++.Can it?
Re: Differences between Qtopia,QtExtended and desktop Qt
Quote:
Originally Posted by
Dante
Hey is it right that Qt transforms its commands to the standard c++?
No. Qt is standard C++.
Quote:
If it is so the windows version of Qt must be able to transform the linux specific commands to standard c++.Can it?
I think you are missing the point here. Can you give an example of a "linux specific command" and one that's "Windows specific" and one that's neither "linux nor windows specific"?
Re: Differences between Qtopia,QtExtended and desktop Qt
Re: Differences between Qtopia,QtExtended and desktop Qt
Re: Differences between Qtopia,QtExtended and desktop Qt
Native API is native API. As the name suggest it is native and won't work on another platform unless it also implements the API (like wine does for WinAPI). Cross compiler is only a tool that is able to build code for a platform other than it is executed on. So you can use a cross-compiler to build an executable for Windows using a compiler running on Linux. The program built would use Windows API, Windows calls and Windows libraries in that case. Linux specific code won't compile and Linux specific libraries can't be used.