Qt compilation process
-
Maybe your implementation is different (it can be), but usually the main window does not inherit from the UI class... it only includes an object of that class as a private member.
QT_BEGIN_NAMESPACE is pretty much Qt-internal. It can be used when you want to compile Qt inside a namespace, AFAIK.
-
I didn't understand properly, could you please explain with some example if possible.Thanks in advance.
-
Hi,
There are different ways for Qt Designer to generate C++ code, all described at http://qt-project.org/doc/qt-5.1/qtdesigner/designer-using-a-ui-file.html
Sierdzio's example used the "member variable" approach, while tamilhce's example used the "inheritance" approach. Both are valid. You can choose your preferred approach in Qt Creator's settings: Tools -> Options -> Designer -> Class Generation -> Embedding of the UI Class
QT_BEGIN_NAMESPACE and QT_END_NAMESPACE are not meant to be used by developers. You can pretend that they don't exist. ;)
-
Hi Everyone,
Thanks for your information, Now i understand how ti actually works.
Regards,
Tamil
-
Hi
I want to develop a simple windows desktop application,which will has to capture bio-metric sensor connected to the pc in windows platform . The bio-metric vendor has provided api() in Acticex, .Net & java to which i can connect to bio-metric sensor to capture , store,show&compare bio-metric images etc.My questions are :i) how can I integrate the given api() in my Qt appication (in windows) to capture and display the bio-metric image
ii) which of the package is easy to integrate with Qt (for windows desktop application) i) Active X ii) .Net iii)Java
iii) if possible give me simple example to integrate third party api() with Qt ,which can be helpful for my development.I have made this as separate post but didn't get any replyThanks in Advance,
Regards,
Tamil -
Hi,
Please wait at least 2 days before re-posting. SGaist replied to your other post within 10 hours, which is very fast already (remember that some people might be asleep or busy when you post). Give his advice a try, and post any follow-up questions in the other thread.
Good luck.
-
HI
I am successfully integrated bio metric device with Qt through Activex, The Qt help documentation is really awesome.Thanks for your valuable reply .special thanks to sierdzio, who helps me to understand the fundamentals in a better way .
Regards,
Tamil -
I'm happy to hear that. Have fun with Qt, like we all do :)
-
Hi sierdzio,
I using Qt gui , and yet to try Qt Quick, which one will give good flexibility.
-
Both. They have different target markets, so to speak. Once you learn how Qt works and are quite happy with QtWidgets, do try QtQuick. When you know both decently well, you will also be able to decide which one to choose :)
Sorry I won't give you any more definite answer here. I really think both technologies are good and very useful, but for different use cases.