1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 <2014> 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 <2014> 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: can't see epicsqt widgets in QT designer |
From: | Andrew Rhyder <[email protected]> |
To: | Hansen <[email protected]>, tech-talk <[email protected]> |
Date: | Sun, 27 Jul 2014 09:17:56 +0000 |
Hi Hansen
In Designer you can have a look in 'Help->About Plugins'. If Designer has found the plugin library, but is not happy loading it it will usually list the plugin in the list and note what problem it had with it. For example, under windows it may state that
it can't use a plugin built in debug with others built in release mode mode.
What you have done - set QT_PLUGIN_PATH is a simple and very robust way to point to plugin libraries, (but it does need to point to the 'designer' directory containing the plugin - which you appear to do correctly).
There are however other ways for Designer to locate you plugin library, such as copy the plugin library to same directory as Designer's other plugins.
http://qt-project.org/doc/qt-5/deployment-plugins.html i think contains the definitive
rules Designer uses for locating plugins.
http://canvoki.net/Codders/qtpluginnotloading.html lists quite a few reasons why plugins
don't load, which may also help.
Are you sure the QT_PLUGIN_PATH environment variable is defined when Designer runs?
Can you launch Designer from the same environment for which you can run the following command?
$ ls $QT_PLUGIN_PATH/designer
libQEPlugin.so
Regards
Andrew
From: [email protected] [[email protected]] on behalf of Hansen [[email protected]]
Sent: Saturday, 26 July 2014 12:05 To: tech-talk Subject: can't see epicsqt widgets in QT designer Hi,
QE framework already compile successfully and can see QWT widgets in QT designer.
The QT_PLUGIN_PATH set to "/$epicsqt_root/framework" but still can't see any epicsqt widgets in QT designer.
Anybody can help me to analyse what is the reason?
|