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

Natanael Olaiz nolaiz at gmail.com
Fri Aug 8 23:39:33 PDT 2008


Is using another Qt version. Try cleaning and recompiling your CLAM 
library -NE and uninstalling other qt4 versions (if qt3 would be the 
problem, it would be so much errors than only qformlayout). Do a 'make 
uninstall' from your compiled qt4 dir!!

Regards,
Natanael.


El 08/09/2008 02:34 AM, Han, Yushen escribió:
> Hi,
>
> Thanks for the link!
>
> Yes, actually my macports failed and I downloaded a qt4.4.1 .dmg from trolltech.
>
> It compiled this time but gave a different error in linking below. Do
> you have any idea?
>
> I notice that I have both qt3 and qt4 in my laptop. But I don't think
> this should be a problem...
>
> Best regards,
> Han, Yushen
>
> 156-56-219-141:NetworkEditor yushen$ sudo scons install clam_prefix=/usr/local
> 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~svn11858
> scons: done reading SConscript files.
> scons: Building targets ...
> == Linking NetworkEditor
> Undefined symbols:
>   "QFormLayout::QFormLayout(QWidget*)", referenced from:
>       Ui_LadspaMetadataEditor::setupUi(QDialog*)      in MainWindow.o
>   "QFormLayout::setWidget(int, QFormLayout::ItemRole, QWidget*)",
> referenced from:
>       Ui_LadspaMetadataEditor::setupUi(QDialog*)      in .o
>       Ui_LadspaMetadataEditor::setupUi(QDialog*)      in MainWindow.o
>       Ui_LadspaMetadataEditor::setupUi(QDialog*)      in MainWindow.o
>       Ui_LadspaMetadataEditor::setupUi(QDialog*)      in MainWindow.o
>       Ui_LadspaMetadataEditor::setupUi(QDialog*)      in MainWindow.o
>       Ui_LadspaMetadataEditor::setupUi(QDialog*)      in MainWindow.o
>       Ui_LadspaMetadataEditor::setupUi(QDialog*)      in MainWindow.o
>       Ui_LadspaMetadataEditor::setupUi(QDialog*)      in MainWindow.o
>       Ui_LadspaMetadataEditor::setupUi(QDialog*)      in MainWindow.o
>       Ui_LadspaMetadataEditor::setupUi(QDialog*)      in MainWindow.o
>       Ui_LadspaMetadataEditor::setupUi(QDialog*)      in MainWindow.o
>       Ui_LadspaMetadataEditor::setupUi(QDialog*)      in MainWindow.o
>       Ui_LadspaMetadataEditor::setupUi(QDialog*)      in MainWindow.o
>       Ui_LadspaMetadataEditor::setupUi(QDialog*)      in MainWindow.o
>   "QFormLayout::setRowWrapPolicy(QFormLayout::RowWrapPolicy)", referenced from:
>       Ui_LadspaMetadataEditor::setupUi(QDialog*)      in MainWindow.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> scons: *** [NetworkEditor] Error 1
> scons: building terminated because of errors.
>   





More information about the clam-devel mailing list