There is no next step, it should work. If it doesn't, first see if it works from within Qt Designer. If not, it means the plugin is incorrect. Otherwise it means Creator can't see your plugin (it is probably setup to use another version of Qt).
There is no next step, it should work. If it doesn't, first see if it works from within Qt Designer. If not, it means the plugin is incorrect. Otherwise it means Creator can't see your plugin (it is probably setup to use another version of Qt).
graciano (12th August 2009)
It works in QtDesigner.
I noticed that the Widget collections available in QtDesigner and QtCreator are quite diferent.
I only have one version of Qt installed.
I built Qt from source because i needed the MySql plugin.
As for QtCreator i installed the binary version.
Now i have to configure QtCreator in tools>options>qt4> Qt versions ... right?
Or is there another option for configuring this?
Try to put your .so at this path
/usr/local/Trolltech/Qt-4.5.2/qt/plugins/designer
But i don't have a qt folder!
My QTDIR is something like:
Qt Code:
total 372 drwxr-sr-x 2 root staff 4096 Jul 22 10:15 bin drwxr-sr-x 21 root staff 4096 Jul 22 10:14 demos drwxr-sr-x 5 root staff 4096 Jul 22 10:15 doc drwxr-sr-x 31 root staff 4096 Jul 22 10:14 examples drwxr-sr-x 21 root staff 4096 Jul 22 10:13 include drwxr-sr-x 3 root staff 4096 Jul 22 10:13 lib drwxr-sr-x 88 root staff 4096 Jul 22 10:15 mkspecs drwxr-sr-x 2 root staff 4096 Jul 22 10:13 phrasebooks drwxr-sr-x 11 root staff 4096 Jul 22 10:13 plugins -rw-r--r-- 1 root staff 333347 Jun 20 05:57 q3porting.xml drwxr-sr-x 2 root staff 4096 Jul 22 10:15 translationsTo copy to clipboard, switch view to plain text mode
Uhm... If you have got the Qt-4.5.2 why you have the reference to Trolltech.
Now Qt is develop by Nokia.
Anyway you need to check if Qt Creator was compiled on the same Qt version you use for your library.
Help\About Qt Creator
Also try if you have this path: lib/qtcreator/plugins/
All the plug-in I can see in my QtCreator are in that subdir.
graciano (12th August 2009)
Ask the TrollsUhm... If you have got the Qt-4.5.2 why you have the reference to Trolltech.
About the path: lib/qtcreator/plugins/ ... i tried them already.
I'll try removing QtCreator and install it in some other way.
Thanks
After i make a ./configure ...
Qt Code:
... Qt is now configured for building. Just run 'make'. Once everything is built, you must run 'make install'. Qt will be installed into /usr/local/Trolltech/Qt-4.5.2 To reconfigure, run 'make confclean' and 'configure'.To copy to clipboard, switch view to plain text mode
I suppose it's some kind of default!
Hi, I have the same prob to yours but I'm using Windows. I just don't want to use Visual Studio just because I'll have to develop on both Windows and Linux for the same code. I prefer available editor like QtCreator.
I see this FAQ:
http://qt.gitorious.org/qt-creator/p...AskedQuestionsMy custom widgets are not loaded into the integrated form editor. But in standalone designer it works.
Qt Creator doesn’t pull in custom widgets from the Qt version you use for development. You need to make sure that your custom widget plugins work with the Qt version that Qt Creator was built with (see the “About QtCreator†dialog, currently 4.5), and put your plugin libraries to Qt Creator’s designer plugin location (bin/designer on Windows and Linux, QtCreator.app/Contents/MacOS/designer on Mac).
I copy the custom widget to that directory (/bin/designer) but QtCreator still can't load.
Qt Ver 4.5.2
QtDesigner v4.5.2
QtCreator v1.2.1 based on Qt 4.5.2 (32-bit).
I have no idea what is wrong.
Last edited by rockballad; 15th October 2009 at 03:08.
Now I know the reason why. We'll have to build the custom widget in VS2005 (an integration w/ Qt) to make QtCreator detect it. I'm not sure about Linux, but it may be easier.
Bookmarks