Problem with "Custom Widget Plugin Example"
-
I forgot... You probably already have them in the example subfolder from your current installation. So if you are using QtCreator you should have an "Examples" tab in the Welcome pane search for this example and then you can start from there :)
Sorry for the unneeded download
-
the Custom Widget Plugin Example is not in the example files. but there is an other example that creates the same Error Message.
-
Did you open it from QtCreator ?
-
I opend the example Page from the qt creator and compiled the example Code and that gave ne the same error message. What am i doing wrong?
-
I just realized, are you trying to run the plugin example ?
This project is a library, there is no executable associated.
You can follow "this documentation":http://qt-project.org/doc/qt-4.8/designer-using-custom-widgets.html to achieve what you want
-
Yes, i'm trying to execute the project. I thought that's the Way to make a Plugin for the qtdesigner. Am i wrong with that?
I have Used the promote Option to make my custom Widget work, but with this Solution i could not use the properties of my custom Widget in qtdesigner. I really want to make a New Control / Widget Plugin for qtdesigner. How can i manage this? Thank you Very much for your help sgaist! -
No, you only build a plugin, there is nothing to run since it's a library. Once built you should be able to use it from designer
-
okay, I compiled it in release mode and get a customwidgetplugin.dll of the size 50kByte. Then I copied it manualy in the folder C:\Qt\Qt5.1.0\5.1.0\mingw48_32\plugins\designer. there where some other plugins like qwebview.dll and qdeclarativeview.dll. When I start QTcreator and open the QDesigner View select Tools>Formulareditor>about QT Designer Plugins the Dialog shows only the 3 Plugins which came withe the installation of QT (qwebview.dll, qdeclarativeview.dll,..) but my customwidgetplugin.dll is not in this dialog. How can I at it? Or should it be added by itself, when i compile the projekt?
-
I think you went further on this topic in your other "thread":http://qt-project.org/forums/viewthread/30944/ so no need for double work, let's continue there
-
yes thats true :), i have described the next problem in this thread. Do you have any idea why it works only in QTDesigner and not in QTCreator?