Guidance required for code generation tool - qt

I am interested to write a GUI based tool which would generate code in return. Something similar to VB GUI interface or Xcode's Interface Builder. I am going to use QT tookkit which is cross platform.
Can you help me to point out some resources which could be helpful to make such tools?
Thanks

Qt creator comes with an integrated UI Designer. The designer can be used stand alone or integrated into Visual Studio as well.

Related

Qt as unity's UI

I saw that genshin impact (made with unity) has qt/qml folder so I suppose the whole game's UI is made with the QT core.
I tried to look up how to add qt to unity but I didn't find anything relevant (apart from the unity scene widget from the qt core but I don't think that's it).
So has anyone got an idea how they achieved it (if they actually did) ?
Thanks in advance.
As far as i'm aware, it's not possible to create UI using Qt core with Unity. So the qt/qml folder you saw was probably for something else and doesn't mean they used Qt.

Qt - Embed an ActiveX Control

I am developing a new Qt application and I need to embed in it a third party ActiveX Control; I spent the last days learning about Qt Quick Controls 2.0, but I fear that ActiveX Controls can only be embedded in Qt Widgets applications. Is it right?
It will also be great if you can suggest any tutorial/example about my problem, since the official one seems a little bit too hard for a newbie like me.
Thank you very much!
Can we use Qt Quick (QML) altogether with ActiveX Qt embedded widget
in one app?
Short answer: yes.
Details: we need to embed both Qt Quick and ActiveX in their own widget containers.
Build a widget-based Windows Qt application from the start. Example.
Embed QML UI into widgets with QWidget::createWindowContainer() which is one of ways to do so.
Embed or create an independent QAxWidget to hold ActiveX control in it.
The best way to deal with third-party ActiveX is to import its type-library like Qutlook Example (ActiveQt).
P.S. QML is not preventing you from doing ActiveX in Qt but they are two separate type of UI and don't share same window. They can only be both embedded in other Qt widgets. I was developing such hybrid applications with Qt/QML/ActiveX and there is no complete guide to do so. Maybe a bit too many details plus you need to deal with specifics of ActiveX interfaces which is a separate topic.

Development of Qt app using MSVC source code

Is there anyway that we an use visual studios source code into Qt source code? to develop a application on image processing.
i had a program on visual studio but i don't understand how to use that code in Qt 5.
can anyone please tell me how can we use it
Thank you in advance
actually, it depends how is your project.
if you previous project is C++ and design good. UI just a present layer, it should not be heavy work.
but if your image processing logic are strong related to MFC, you might spend lots of time on your migration.

Connect Qt with VS project

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.

how to get teechart activex on Qt

I am currently working on a project where TeeChart Pro ActiveX 2012 is used with Visual C++ and MFC.Now i want to move my project to cross platform language Qt.I have searched a lot on Qt forums but didn't get a proper sample code to display Teechart in Qt.I shall be highly thankful if someone could give me a sample code or proper workaround to solve my problem.
I'm sorry but we don't have any QT example. You can use ActiveX controls in QT but only Windows, not for X-platform applications. This might be your problem. Have you managed to use other ActiveX controls? All TeeChart options in QT were discussed here.

Resources