Is the designer built in release mode?
Is the designer built in release mode?
Hello,
I didnt build the designer from source.I installed the desginer using
The version installed is 4.3.2 open source edition.This version is working fine.I have created some applications using this and Qtopia 4.3.3.But somehow the plugin doesnt load.yum install qt4-designer
How do I know about release mode stuff?
Thanks,
raman
If the designer is for Qt 4.3.2 and the plugin for Qtopia 4.3.3 then they are incompatible. You need to build the plugin for Qt 4.3.2 to run it in your Designer.
Thanks for the suggestion.......I missed out this point on loading plugins in the Qt Designer manual....I dont want to downgrade my Qtopia 4.3.3 installation....I am trying to upgrade Qt Designer 4.3.2 to 4.3.3 but I am unable to find this version for fedora 6 OS....I cant afford to upgrade my PC to fedora 7 as that will be a long procedure....is there Qt Designer 4.3.3 version for fedora 6???
thanks,
raman
Why not compile Qt from sources? It's a straightforward process, you will surely manage it.
I had installed qtopia by building qtopia-core-opensource-src-4.3.3.tar from source but I dont think that Qt designer 4.3.3. comes as a part of this source file.
I had to install Qt designer 4 separately using yum command later.Is there any latest source file which has all the Qt packages in it...i.e. Qtopia,Qt designer,Qt assistant,Qt linguist??
thanks,
raman
Take a look at the main page of this site. There is a link there that will take you to Qt downloads. Alternatively you can find similar links on trolltech.com
Thanks all for your suggestions!
I have now upgraded to Fedora 9 and installed Qtopia 4.3.5 and Qt Designer 4.3.5.
Now I have created a plugin using the examples , compiled ("make") and installed using
make install
The .so file installs at /usr/local/Trolltech/QtopiaCore-4.3.5/plugins/designer/libmywidgetplugin.so
But the problem is the plugin doesnt load on the Qt Desginer.Is there anything left to be done?
These are contents of the plugin folder
[root@localhost designer]# ls
libcontainerextension.so libqt3supportwidgets.so.debug
libcontainerextension.so.debug libtaskmenuextension.so
libcustomwidgetplugin.so libtaskmenuextension.so.debug
libcustomwidgetplugin.so.debug libworldtimeclockplugin.so
libmywidgetplugin.so libworldtimeclockplugin.so.debug
libqt3supportwidgets.so
thanks,
raman
Run designer, open its "About Plugins" dialog box and see what is the error associated with the plugin.
Hello,
Earlier this plugin had installed at /usr/local/Trolltech/QtopiaCore-4.3.5/plugins/designer which I later realised is not the path designer expects the plugins to be in since it was not loacting it.
So I copied the plugins to
/usr/lib/qt4/plugins/designer
When I run the designer I get this error
QLibrary:: load_sys : Cannot load /usr/lib/qt4/plugins/designer/libmywidgetplugin.so(/usr/lib/qt4/plugins/designer/libmywidgetplugin.so: undefined symbol: _ZN7QWidget8qwsEventEP8QWSEvent)
I have attached my source files for the plugin. mywidget.zip
thanks,
raman
This widget uses a symbol (QWidget::qwsEvent) which is not available in Qt. You have to compile it without that symbol if you want to run the widget in the desktop version of Qt.
I removed the event code this time from my source files .I have attached the updated code.I still get the same error :
QLibrary:: load_sys : Cannot load /usr/lib/qt4/plugins/designer/libmywidgetplugin.so(/usr/lib/qt4/plugins/designer/libmywidgetplugin.so: undefined symbol: _ZN7QWidget8qwsEventEP8QWSEvent)
thanks,
raman
Bookmarks