[Clam-devel] Missing qformlayout.h when compiling NE

David García Garzón dgarcia at iua.upf.edu
Thu Aug 7 18:12:52 PDT 2008


¬¬ Another 'modernity'. It requires Qt 4.4. Is it supported in your platform?

David.


On Divendres 08 Agost 2008, Han, Yushen wrote:
> Hi,
>
> After I updated my SCons 0.97 -> 0.98.4_1, the "addMethod" in SCons
> problem is gone.
>
> I just checked out NE  svn11854 1 min ago.
>
> But it reported that qformlayout.h is missing when I was trying to install
> it. (The QTDIR was guessed correctly by itself)
> There is no qformlayout.h in my /opt/local/include/qt4/...
>
> Is this a problem with my QT?
>
> Best regards,
> Han, Yushen
>
> 156-56-219-141:NetworkEditor yushen$ sudo scons install
> Password:
> scons: Reading SConscript files ...
>
> scons: warning: QTDIR variable is not defined, using moc executable as
> a hint (QTDIR=/opt/local)
> File "/usr/local/share/clam/sconstools/qt4.py", line 208, in _detect
> Loading nsis tool...
> Loading Bundle tool
> Lodading dmg tool...
> Version:  1.3.0
> Package version:  1.3.0~svn11854
> scons: done reading SConscript files.
> scons: Building targets ...
> Install file: "resources/man/man1/NetworkEditor.1" as
> "/usr/local/share/man/man1/NetworkEditor.1"
> Install file: "resources/man/man1/Prototyper.1" as
> "/usr/local/share/man/man1/Prototyper.1"
> Install file: "resources/NetworkEditor-icon.svg" as
> "/usr/local/share/networkeditor/NetworkEditor-icon.svg"
> == Compiling src/main.cxx
> == Compiling src/NetworkEditorVersion.cxx
> == Compiling src/MainWindow.cxx
> In file included from src/MainWindow.cxx:3:
> src/generated/uic_LadspaMetadataEditor.hxx:26:25: error:
> qformlayout.h: No such file or directory
> src/generated/uic_LadspaMetadataEditor.hxx:40: error: ISO C++ forbids
> declaration of 'QFormLayout' with no type
> src/generated/uic_LadspaMetadataEditor.hxx:40: error: expected ';'
> before '*' token
> src/generated/uic_LadspaMetadataEditor.hxx: In member function 'void
> Ui_LadspaMetadataEditor::setupUi(QDialog*)':
> src/generated/uic_LadspaMetadataEditor.hxx:119: error: 'formLayout'
> was not declared in this scope
> src/generated/uic_LadspaMetadataEditor.hxx:119: error: expected
> type-specifier before 'QFormLayout'
> src/generated/uic_LadspaMetadataEditor.hxx:119: error: expected `;'
> before 'QFormLayout'
> src/generated/uic_LadspaMetadataEditor.hxx:121: error: 'QFormLayout'
> has not been declared
> src/generated/uic_LadspaMetadataEditor.hxx:121: error: 'WrapLongRows'
> was not declared in this scope
> src/generated/uic_LadspaMetadataEditor.hxx:197: error: no matching
> function for call to 'QHBoxLayout::addLayout(<type error>)'
> /opt/local/include/qt4/QtGui/qboxlayout.h:78: note: candidates are:
> void QBoxLayout::addLayout(QLayout*, int)
> scons: *** [src/MainWindow.o] Error 1
> scons: building terminated because of errors.
>
> _______________________________________________
> Clam-devel mailing list
> Clam-devel at llistes.projectes.lafarga.org
> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel



-- 
David García Garzón
(Work) dgarcia at iua dot upf anotherdot es
http://www.iua.upf.edu/~dgarcia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080808/02ff129b/attachment-0003.pgp>


More information about the clam-devel mailing list