Qt-interest Archive, December 2006
Path to build Qt-4.3.0 snapshot 20061210
Message 1 in thread
Trolls:
I had to make the following fix for the latest Qt-4.3.0 snapshot to
build with gcc 3.2.3 on RHEL3. Enjoy:
--- ./tools/designer/src/lib/shared/qdesigner_propertycommand.cpp
+++ ./tools/designer/src/lib/shared/qdesigner_propertycommand.cpp
@@ -530,7 +530,7 @@
PropertyHelper::Value
PropertyHelper::restoreDefaultValue(QDesignerFormWindowInterface *fw)
{
- Value defaultValue(QVariant(), false);
+ Value defaultValue = qMakePair(QVariant(), false);
const QVariant currentValue = m_propertySheet->property(m_index);
// try to reset sheet, else try to find default
if (m_propertySheet->reset(m_index)) {
--
[ signature omitted ]