<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>It's not finding the stuff in utils.h, even though </span><span style="font-size: 12pt; ">cswriteinitialization.cpp includes that file.</span></div><div><span style="font-size: 12pt; ">My first guess would be to change the guard in utils.h from "UTILS_H" to something less generic.</span></div><div><span style="font-size: 12pt; ">Maybe it's conflicting with another header file that's in your build-path somewhere.</span></div><div><span style="font-size: 12pt; ">Let us know if that does anything.</span></div><div><span style="font-size: 12pt; "><br></span></div><div><span style="font-size: 12pt; ">Steven Boswell</span></div><div><br></div>  <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif;
 "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Peter Shoebridge <peter@blueyondergaming.com><br> <b><span style="font-weight: bold;">To:</span></b> "kde-bindings@kde.org" <kde-bindings@kde.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, June 4, 2012 4:18 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> [Kde-bindings] Error building Qyoto on Linux<br> </font> </div> <br>
I'm trying to cross compile Qyoto for Linux-Arm but have hit some error during the build of the uics part.<br><br>I am able to build smokegen and smokeqt successfully but building Qyoto yields the following errors. I'm building against Qt v4.7.2 on Ubuntu 10.4 for an ARM target.<br><br>Anyone have any thoughts on what I might be doing wrong? Feel free to request any (many!) additional details I might have left out.<br><br>Thanks<br>Peter Shoebridge<br><br><br><br>[ 46%] Built target csrcc<br>[ 48%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/customwidgetsinfo.cpp.o<br>[ 51%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/databaseinfo.cpp.o<br>[ 53%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/driver.cpp.o<br>[ 55%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/treewalker.cpp.o<br>[ 58%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/ui4.cpp.o<br>[ 60%] Building CXX object
 tools/uics/CMakeFiles/uics_bin.dir/uic.cpp.o<br>[ 62%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/validator.cpp.o<br>[ 65%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/cs/cswritedeclaration.cpp.o<br>[ 67%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/cs/cswriteincludes.cpp.o<br>[ 69%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/cs/cswriteicondata.cpp.o<br>[ 72%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/cs/cswriteicondeclaration.cpp.o<br>[ 74%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/cs/cswriteiconinitialization.cpp.o<br>[ 76%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/cs/cswriteinitialization.cpp.o<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In function 'void<unnamed>::writeSpacerItem(const DomSpacer*, QTextStream&)':<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:71: error:
 'propertyMap' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'virtual void CS::WriteInitialization::acceptUI(DomUI*)':<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:379: error: 'fixString' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'virtual void CS::WriteInitialization::acceptWidget(DomWidget*)':<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:477: error: no matching function for call to 'QHash<QString, DomProperty*>::QHash(QList<DomProperty*>)'<br>/linux-devkit/arm-none-linux-gnueabi/usr/include/qtopia/QtCore/qhash.h:283: note: candidates are: QHash<Key, T>::QHash(const QHash<Key, T>&) [with Key = QString, T =
 DomProperty*]<br>/linux-devkit/arm-none-linux-gnueabi/usr/include/qtopia/QtCore/qhash.h:282: note:                 QHash<Key, T>::QHash() [with Key = QString, T = DomProperty*]<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:479: error: 'toString' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:512: error: no matching function for call to 'QHash<QString, DomProperty*>::QHash(QList<DomProperty*>)'<br>/linux-devkit/arm-none-linux-gnueabi/usr/include/qtopia/QtCore/qhash.h:283: note: candidates are: QHash<Key, T>::QHash(const QHash<Key, T>&) [with Key = QString, T = DomProperty*]<br>/linux-devkit/arm-none-linux-gnueabi/usr/include/qtopia/QtCore/qhash.h:282: note:                 QHash<Key, T>::QHash() [with Key = QString, T =
 DomProperty*]<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:516: error: 'toString' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:521: error: 'toString' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'virtual void CS::WriteInitialization::acceptLayout(DomLayout*)':<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:622: error: 'propertyMap' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'void CS::WriteInitialization::writeProperties(const QString&, const QString&, const QList<DomProperty*>&, unsigned int)':<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:912: error: 'propertyMap' was not declared in
 this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:916: error: 'toString' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:916: error: 'fixString' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:927: error: 'fixString' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1172: error: 'toBool' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1261: error: 'toBool' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'QString CS::WriteInitialization::writeFontProperties(const DomFont*)':<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1335: error:
 'fixString' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'void CS::WriteInitialization::initializeComboBox(DomWidget*)':<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1594: error: 'propertyMap' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1611: error: 'propertyMap' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'void CS::WriteInitialization::initializeQ3ListBox(DomWidget*)':<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1646: error: 'propertyMap' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'void
 CS::WriteInitialization::initializeQ3IconView(DomWidget*)':<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1680: error: 'propertyMap' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'void CS::WriteInitialization::initializeQ3ListView(DomWidget*)':<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1710: error: 'propertyMap' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'void CS::WriteInitialization::initializeQ3Table(DomWidget*)':<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1785: error: 'propertyMap' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1801: error: 'propertyMap' was not declared in this
 scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'QString CS::WriteInitialization::pixCall(const DomProperty*) const':<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1845: error: 'fixString' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'void CS::WriteInitialization::initializeTreeWidget(DomWidget*)':<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1891: error: 'propertyMap' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'void CS::WriteInitialization::initializeTableWidget(DomWidget*)':<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1927: error: 'propertyMap' was not declared in this
 scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1959: error: 'propertyMap' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1994: error: 'propertyMap' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'QString CS::WriteInitialization::trCall(const QString&, const QString&) const':<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:2031: error: 'fixString' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'void CS::WriteInitialization::initializeQ3SqlDataTable(DomWidget*)':<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:2057: error: 'propertyMap' was not declared in this
 scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:2060: error: 'toBool' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:2087: error: 'fixString' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:2089: error: 'fixString' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'void CS::WriteInitialization::initializeQ3SqlDataBrowser(DomWidget*)':<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:2097: error: 'propertyMap' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:2100: error: 'toBool' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:2127: error:
 'fixString' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:2129: error: 'fixString' was not declared in this scope<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'QString CS::WriteInitialization::trCall(DomString*) const':<br>/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:2148: error: 'toString' was not declared in this scope<br>make[2]: *** [tools/uics/CMakeFiles/uics_bin.dir/cs/cswriteinitialization.cpp.o] Error 1<br>make[1]: *** [tools/uics/CMakeFiles/uics_bin.dir/all] Error 2<br>make: *** [all] Error 2<br>_______________________________________________<br>Kde-bindings mailing list<br><a ymailto="mailto:Kde-bindings@kde.org" href="mailto:Kde-bindings@kde.org">Kde-bindings@kde.org</a><br><a href="https://mail.kde.org/mailman/listinfo/kde-bindings"
 target="_blank">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br><br><br> </div> </div>  </div></body></html>