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

Natanael Olaiz nolaiz at gmail.com
Thu Aug 7 18:14:59 PDT 2008


Which is your Qt version? qformlayout is since version 4.4 (see this 
thread: 
https://llistes.projectes.lafarga.cat/pipermail/clam-devel/2008/002535.html)


Regards,
Natanael.

El 08/07/2008 09:53 PM, Han, Yushen escribió:
> 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
>
>   





More information about the clam-devel mailing list