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

Han, Yushen yushen.han at gmail.com
Thu Aug 7 17:53:26 PDT 2008


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.




More information about the clam-devel mailing list