[Clam-devel] Missing qformlayout.h when compiling NE
Han, Yushen
yushen.han at gmail.com
Sat Aug 9 13:53:39 PDT 2008
Hi, Natanael
Thanks for your reply. By "Is using another Qt version.", are you
saying that my problem of missing "QFormLayout" class is because NE is
using a different Qt version?
I had qt3 (installed by macport) qt4.4 (installed by macport) and
qt4.4.1 (installed by the package file) in my laptop.
I was using "port clean" and "port uninstall" to remove qt3 and qt4.4.
Still there were some libQt*.dylib files in my /usr/local/lib and I
manually removed them.
I was trying to remove qt4.4.1 by looking into the receipt file inside
of the .pkg files (e.g. Qt_docs.pkg) under my /Library/Receipt/. But I
was not sure about if I really removed it.
Do you know anything about removing a package from Mac OS X? I was
using Google for a solution but did not have much success.
When I am writing this message, my laptop is largely occupied by
compiling qt4.4-mac (using macport).
(The instruction given by Darwin port did not work for qt4.4
They say Darwinport has no affiliation with macport and should be trusted.)
I really hope this time it would work...
But if you know any solution to "remove" all versions of qt, please
let me know. Thanks!
Best regards,
Han, Yushen
On Sat, Aug 9, 2008 at 2:39 AM, Natanael Olaiz <nolaiz at gmail.com> wrote:
> 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.
>>
>
>
> _______________________________________________
> 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