[bt-devel] cmake system and building one .cpp file
Martin Gruner
mg.pub at gmx.net
Mon May 21 12:09:37 MST 2007
Hi Eeli,
I just saw you ported the keychooser widget! Cool!
I'm getting a weird error message (below). It disappears when I
add -DQT3_SUPPORT to the gcc options, but then I get other errors. Strange.
Do you have an idea?
mg
[ 3%] Building CXX object
CMakeFiles/bibletime.dir/bibletime/frontend/keychooser/ckeychooserwidget.o
/usr/include/qt4/Qt3Support/q3boxlayout.h: In
constructor 'Q3BoxLayout::Q3BoxLayout(QWidget*, QBoxLayout::Direction, int,
int, const char*)':
/usr/include/qt4/Qt3Support/q3boxlayout.h:41: error: no matching function for
call to 'QBoxLayout::QBoxLayout(QWidget*&, QBoxLayout::Direction&, int&,
int&, const char*&)'
/usr/include/qt4/QtGui/qboxlayout.h:98: note: candidates are:
QBoxLayout::QBoxLayout(const QBoxLayout&)
/usr/include/qt4/QtGui/qboxlayout.h:48: note:
QBoxLayout::QBoxLayout(QBoxLayout::Direction, QWidget*)
/usr/include/qt4/Qt3Support/q3boxlayout.h: In
constructor 'Q3BoxLayout::Q3BoxLayout(QLayout*, QBoxLayout::Direction, int,
const char*)':
/usr/include/qt4/Qt3Support/q3boxlayout.h:45: error: no matching function for
call to 'QBoxLayout::QBoxLayout(QLayout*&, QBoxLayout::Direction&, int&,
const char*&)'
/usr/include/qt4/QtGui/qboxlayout.h:98: note: candidates are:
QBoxLayout::QBoxLayout(const QBoxLayout&)
/usr/include/qt4/QtGui/qboxlayout.h:48: note:
QBoxLayout::QBoxLayout(QBoxLayout::Direction, QWidget*)
/usr/include/qt4/Qt3Support/q3boxlayout.h: In
constructor 'Q3BoxLayout::Q3BoxLayout(QBoxLayout::Direction, int, const
char*)':
/usr/include/qt4/Qt3Support/q3boxlayout.h:48: error: no matching function for
call to 'QBoxLayout::QBoxLayout(QBoxLayout::Direction&, int&, const char*&)'
/usr/include/qt4/QtGui/qboxlayout.h:98: note: candidates are:
QBoxLayout::QBoxLayout(const QBoxLayout&)
/usr/include/qt4/QtGui/qboxlayout.h:48: note:
QBoxLayout::QBoxLayout(QBoxLayout::Direction, QWidget*)
make[2]: ***
[CMakeFiles/bibletime.dir/bibletime/frontend/keychooser/ckeychooserwidget.o]
Error 1
make[1]: *** [CMakeFiles/bibletime.dir/all] Error 2
make: *** [all] Error 2
Am Montag, 21. Mai 2007 schrieb Eeli Kaikkonen:
> I installed Kubuntu and after many difficulties I got KDE4 packages
> installed and our kde4port cmake system working. I had to edit KDE4
> cmake system first...
>
> Now it builds quite many files and stops with an error:
> "make[2]: *** No rule to make target `/usr/lib64/libQtSvg.so', needed by
> `bin/bibletime'. Stop."
>
> It seems to be possible and easy to compile only one .cpp file: use the
> .o target. "make bibletime/backend/cswordkey.o" to build cswordkey.cpp.
>
> Yours,
> Eeli Kaikkonen (Mr.), Oulu, Finland
> e-mail: eekaikko at mailx.studentx.oulux.fix (with no x)
>
> _______________________________________________
> bt-devel mailing list
> bt-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/bt-devel
More information about the bt-devel
mailing list