[Kde-bindings] Error building Qyoto on Linux

Steven Boswell II ulatekh at yahoo.com
Tue Jun 5 00:23:44 UTC 2012


Yes...you're building the old version of qyoto.
Try grabbing the one from git://gitorious.org/assemblygen/assemblygen.git .
We keep trying to tell the maintainers to mark that version of qyoto as obsolete, but it hasn't happened, and people keep trying to build it.  Sigh.


________________________________
 From: Peter Shoebridge <peter at blueyondergaming.com>
To: KDE bindings for other programming languages <kde-bindings at kde.org> 
Cc: Steven Boswell II <ulatekh at yahoo.com> 
Sent: Monday, June 4, 2012 4:58 PM
Subject: RE: [Kde-bindings] Error building Qyoto on Linux
 

 
Steven, thanks for the pointer.
 
I changed the guard to something more specific but that made no difference. I add an include of utils.h directly in cswriteinitialization.h which help (obviously not the right fix but just to test).
 
Now I get the following error:
 
[ 51%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/cs/cswriteinitialization.cpp.o
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'virtual void CS::WriteInitialization::acceptWidget(DomWidget*)':
/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*>)'
/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*]
/linux-devkit/arm-none-linux-gnueabi/usr/include/qtopia/QtCore/qhash.h:282: note:                 QHash<Key, T>::QHash() [with Key = QString, T = DomProperty*]
/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*>)'
/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*]
/linux-devkit/arm-none-linux-gnueabi/usr/include/qtopia/QtCore/qhash.h:282: note:                 QHash<Key, T>::QHash() [with Key = QString, T = DomProperty*]
make[2]: *** [tools/uics/CMakeFiles/uics_bin.dir/cs/cswriteinitialization.cpp.o] Error 1
make[1]: *** [tools/uics/CMakeFiles/uics_bin.dir/all] Error 2
make: *** [all] Error 2
 
Any thoughts?
 
Peter
 
From:Steven Boswell II [mailto:ulatekh at yahoo.com] 
Sent: Monday, June 04, 2012 5:44 PM
To: KDE bindings for other programming languages; Peter Shoebridge
Subject: Re: [Kde-bindings] Error building Qyoto on Linux
 
It's not finding the stuff in utils.h, even though cswriteinitialization.cpp includes that file.
My first guess would be to change the guard in utils.h from "UTILS_H" to something less generic.
Maybe it's conflicting with another header file that's in your build-path somewhere.
Let us know if that does anything.
 
Steven Boswell
 

________________________________
 
From:Peter Shoebridge <peter at blueyondergaming.com>
To: "kde-bindings at kde.org" <kde-bindings at kde.org> 
Sent: Monday, June 4, 2012 4:18 PM
Subject: [Kde-bindings] Error building Qyoto on Linux

I'm trying to cross compile Qyoto for Linux-Arm but have hit some error during the build of the uics part.

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.

Anyone have any thoughts on what I might be doing wrong? Feel free to request any (many!) additional details I might have left out.

Thanks
Peter Shoebridge



[ 46%] Built target csrcc
[ 48%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/customwidgetsinfo.cpp.o
[ 51%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/databaseinfo.cpp.o
[ 53%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/driver.cpp.o
[ 55%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/treewalker.cpp.o
[ 58%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/ui4.cpp.o
[ 60%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/uic.cpp.o
[ 62%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/validator.cpp.o
[ 65%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/cs/cswritedeclaration.cpp.o
[ 67%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/cs/cswriteincludes.cpp.o
[ 69%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/cs/cswriteicondata.cpp.o
[ 72%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/cs/cswriteicondeclaration.cpp.o
[ 74%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/cs/cswriteiconinitialization.cpp.o
[ 76%] Building CXX object tools/uics/CMakeFiles/uics_bin.dir/cs/cswriteinitialization.cpp.o
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In function 'void<unnamed>::writeSpacerItem(const DomSpacer*, QTextStream&)':
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:71: error: 'propertyMap' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'virtual void CS::WriteInitialization::acceptUI(DomUI*)':
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:379: error: 'fixString' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'virtual void CS::WriteInitialization::acceptWidget(DomWidget*)':
/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*>)'
/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*]
/linux-devkit/arm-none-linux-gnueabi/usr/include/qtopia/QtCore/qhash.h:282: note:                QHash<Key, T>::QHash() [with Key = QString, T = DomProperty*]
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:479: error: 'toString' was not declared in this scope
/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*>)'
/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*]
/linux-devkit/arm-none-linux-gnueabi/usr/include/qtopia/QtCore/qhash.h:282: note:                QHash<Key, T>::QHash() [with Key = QString, T = DomProperty*]
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:516: error: 'toString' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:521: error: 'toString' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'virtual void CS::WriteInitialization::acceptLayout(DomLayout*)':
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:622: error: 'propertyMap' was not declared in this scope
/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)':
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:912: error: 'propertyMap' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:916: error: 'toString' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:916: error: 'fixString' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:927: error: 'fixString' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1172: error: 'toBool' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1261: error: 'toBool' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'QString CS::WriteInitialization::writeFontProperties(const DomFont*)':
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1335: error: 'fixString' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'void CS::WriteInitialization::initializeComboBox(DomWidget*)':
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1594: error: 'propertyMap' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1611: error: 'propertyMap' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'void CS::WriteInitialization::initializeQ3ListBox(DomWidget*)':
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1646: error: 'propertyMap' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'void CS::WriteInitialization::initializeQ3IconView(DomWidget*)':
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1680: error: 'propertyMap' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'void CS::WriteInitialization::initializeQ3ListView(DomWidget*)':
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1710: error: 'propertyMap' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'void CS::WriteInitialization::initializeQ3Table(DomWidget*)':
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1785: error: 'propertyMap' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1801: error: 'propertyMap' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'QString CS::WriteInitialization::pixCall(const DomProperty*) const':
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1845: error: 'fixString' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'void CS::WriteInitialization::initializeTreeWidget(DomWidget*)':
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1891: error: 'propertyMap' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'void CS::WriteInitialization::initializeTableWidget(DomWidget*)':
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1927: error: 'propertyMap' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1959: error: 'propertyMap' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:1994: error: 'propertyMap' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'QString CS::WriteInitialization::trCall(const QString&, const QString&) const':
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:2031: error: 'fixString' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'void CS::WriteInitialization::initializeQ3SqlDataTable(DomWidget*)':
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:2057: error: 'propertyMap' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:2060: error: 'toBool' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:2087: error: 'fixString' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:2089: error: 'fixString' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'void CS::WriteInitialization::initializeQ3SqlDataBrowser(DomWidget*)':
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:2097: error: 'propertyMap' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:2100: error: 'toBool' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:2127: error: 'fixString' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:2129: error: 'fixString' was not declared in this scope
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp: In member function 'QString CS::WriteInitialization::trCall(DomString*) const':
/home/peter/projects/qyoto-build/qyoto/tools/uics/cs/cswriteinitialization.cpp:2148: error: 'toString' was not declared in this scope
make[2]: *** [tools/uics/CMakeFiles/uics_bin.dir/cs/cswriteinitialization.cpp.o] Error 1
make[1]: *** [tools/uics/CMakeFiles/uics_bin.dir/all] Error 2
make: *** [all] Error 2
_______________________________________________
Kde-bindings mailing list
Kde-bindings at kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20120604/2fcb5097/attachment-0001.html>


More information about the Kde-bindings mailing list