I have a proyect in Delphi XE3 using VCL application, now I want to improve my application GUI and I want to use a Qt GUI Widget with stylesheets using my existing delphi source code (implemented classes,...) , it's this possible?. I has been search on Net but nothing founded about implementing Qt GUI for Delphi.
Thx in advanced.
There are no Delphi bindings for Qt:
http://en.wikipedia.org/wiki/List_of_language_bindings_for_Qt_4
Delphi is inextricably bound to either the VCL or Firemonkey. Without no bindings available, you can't directly use Qt in Delphi.
A possible workaround could be to abstract your application routines into a DLL and then create the GUI for your application in another language with Qt support and call your Delphi routines from that.
Also # Mason:
Delphi tried going the Qt route several years ago, and it was a miserable failure
The failure of Kylix had nothing to do with Qt.
I suggest the last version of codetyphon 5.30
http://pilotlogic.com/sitejoom/index.php
VLC is support with Multi-OS, Multi-CPU and Cross-Build abilities.
especially with QT4 binding platform support
QT5 platform support is Experimental.
Related
I have a c++ console project with all the models, and program logic.
I would like to create an interface that will enable user interaction.
Is there an easy way to import all my classes and code to be used in the Qt project? Or should I download the Qt plugin for VS?
EDIT:
I am targeting Qt 5.2, and VS 2012.
Maybe my question isn't to clear. I'd rather leave the console project alone, and just use the models and logic.
Is there an easy way to import all my classes and code to be used in the Qt project? Or should I download the Qt plugin for VS?
I believe, the plugin would make your life somewhat simpler. Please note that they do not work with the free express edition though, so if you can only use that, it is not your piece of cake.
You can download the Qt 4 add-in from here, and the Qt 5 add-in from here.
You can leave the console project as is, and you can link against the common functionality in your Qt frontend by selecting the desired library path and name of your library covering the models and the business logic.
i'm beginner for mobile application development. i have knowledge of C language. i want to develop some app for meego ( Nokia N9) & symbian devices. i already downloaded QT sdk.now what i want to learn for application development. C++ or QML? as i told i'm very beginner for this languages.where can i start? pls help me. thanks
What you have to do is starting by learning the programing language which corresponds with the framework you will use. Once you do that, you can start learning how to use the framework.
Qt : C++
Qt Quick : JavaScript and QML
After that, it depends on which plateforms you want to develop to :
Classic Desktop OSes (Windows, Linux, Mac) : Qt with C++ is for you. You can use Qt Quick too but for the moment it is not really made for those plateforms. Moreover, you got skills in C so starting by learning C++ and then Qt may be easier for you since C and C++ have got lots of common points.
Mobile OSes (Symbian, MeeGo) : developing in C++ may be harder on mobile OSes than on PC OSes. So you had better use Qt Quick with QML and JavaScript. Moreover, Qt Quick was made for development on mobile plateforms. Unlike Desktop OSes, you have got a real set of reusable components such as Buttons, Sliders, Scroll Bars... Those Qt Quick Components (that's their name) exist also on Desktop but they are not (until Qt5 and Qt Quick 2.0) as developed as their equivalent on Symbian and MeeGo.
Qt will always be faster and fluid but it is easier to code with Qt Quick.
You can also develop hybrid applications with both C++/Qt parts and QML/JS/Qt Quick parts but it is more advanced. This will be the next step. ;-)
I've been curious about how GUIs are implemented for a long time. I know how to write Qt (or other) code, and I want to know:
How Qt calls Xlib (under Linux), and implements the Qt framework.
How Xlib calls linux system calls
How Linux controls the video card
Are there any good articles for introducing GUI implementations?
http://en.wikipedia.org/wiki/X_Window_System#Design
I came accross a website and what is this QTWebKit? and why do we use it and in which envoirment c++/Java or...
https://trac.webkit.org/wiki/QtWebKit#TechnicalArticles
Citing from your own link:
WebKit is an open source web browser engine. [...] QtWebKit is a project aiming at porting this fabulous engine back to Qt.
The Qt port of WebKit currently compiles and runs on Linux (including Maemo and Meego), Windows, Mac OS X and Symbian."
So it's webkit ported to Qt. What Qt is, is described e.g. here.
A simple search also reveals the Qt Webkit documentation.
Citing the site you mentioned:
WebKit is an open source web browser
engine. (...) QtWebKit is a project aiming at porting this fabulous engine back to Qt.
WebKit being an engine focused on implementing web browser's specific tasks (interpreting a web page's source (HTML, CSS), executing Java Script, creating visual representation and others) makes use of some basic services needed to accomplish these tasks. The examples of such services would be displaying an image on the screen or downloading a file over a network. These services must be provided for it to work. In case of Qt port these services are provided by Qt, which is a cross platform C++ framework for creating applications. You can find more information on Qt here.
I will make a desktop application. I searched on web which one is better. Can someone say positive and negative sides of these components.
I can add some information about QT:
QT is a well designed, portable library that covers nearly everything you'll need for a desktop application. QT covers GUI, networking, SQL, Graphics and more.
Pros:
very extensive library
high performance
portable
Cons:
It's C++
special preprocessor / make tool needed.
Setting up a QT compile environment is a little bit more difficult than setting up a C++ compile environment. C++ is - especially if you are not used to it - very difficult and the learning curve is steep. QT helps alot with appropriate helper classes (QPointer, ...) and library magic (QObjects freeing children, ...) in the background. There are bindings to other languages as well. Just to mention a few - Jambi is a binding for Java and there's a binding for python as well.
For your decision consider the following things
which programming language do you know best
which libray reduces your amout of work for this application the most
how much performance do you REALLY need. C++ code can be very fast, but there's no reason to work with manual memory management and pointers if you don't need the performance.
which library offers you the look and feel you want to have for your desktop application
If you need portability: Do you want to "compile once run everywhere" (Java) or do you want to "run your app everywhere once you compiled it for this plattform" (QT)
Here's the link to QT-Jambi Wiki: http://qt.gitorious.org/qt-jambi/pages/Home. According to Nokia: "Qt Jambi is the Qt GUI toolkit for Java developers"
Qt is the best cross platform GUI framework at the moment. It renders the widgets with a native look on each platform and it has a very easy to use API.
Using Qt doesn't mean that you have to use C++. You can program Qt in Java (Qt Jambi) or Python (PyQt) for instance.