PDA

View Full Version : How do I use this widget in my application?



assembly
29th September 2015, 20:34
I found this (http://qt-apps.org/content/show.php/QPropertyEditor?content=68684) nice widget, but as I'm new to QT I have no idea how to add custom widget. I did some googling but didn't helped in this case. How do I add this widget to my application? I'm using QT 5.5 on Windows 10 machine

jefftee
30th September 2015, 07:07
I would imagine that the widget should have some documentation, if only a README file or similar. It might help if you actually mentioned which widget you're trying to use... :)

Edit: Sorry, just noticed "this" was a link! The zip file contains a subdirs project to build a statlic library (QPropertyEditor) and a sample application that shows. Look at the Sample.pro file to see how to include the header file and static library for the linker (i.e. INCLUDEPATH, QMAKE_LIBDIR, and LIBS variables), etc.