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: | EpicsQt and Qtdesigner with Qt 5.7 |
From: | <[email protected]> |
To: | <[email protected]> |
Cc: | [email protected] |
Date: | Fri, 1 Jul 2016 16:31:31 +0000 |
Hello, I thought your EpicsQt team may be interested in a strange bug with designer’s UI files when I compiled under Qt5.7 (everything else seemed to work just fine). This does not happen with Qt5.5 which, I believe, is the current version.
My workflow is as follows: I use designer to layout EqpicsQt widgets and save the ui file I add the ui form to my .pro. Qmake then generates a .h file I include that .h form in my code, etc, etc When I compiled my forms on a machine with Qt5.7, they crashed. The error was from the converted designer file:
I looked and this is caused by QeSimpleShape function
QESimpleShape::Never and QVariant qesimpleshape_13->setProperty("displayAlarmStateOption",
QVariant(QESimpleShape::Never)); This is fine in 5.5 but 5.7 wants you to add
Q_DECLARE_METATYPE() information Hope this is useful. Regards, Rory
Rory Clarke Electrical and Controls Systems Group Daresbury Laboratory Keckwick Lane
Warrington Cheshire WA4 4AD T:
01925 60 Ext. 3172 |