From: SourceForge.net <no...@so...> - 2005-04-16 12:34:48
|
Bugs item #1150023, was opened at 2005-02-23 19:47 Message generated for change (Settings changed) made by lunar_shuttle You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=604222&aid=1150023&group_id=93414 Category: None Group: None >Status: Closed Resolution: None Priority: 5 Submitted By: manouxus (manouxus) Assigned to: Nobody/Anonymous (nobody) Summary: compile error with mandrake : error : candidates are Initial Comment: I'v got Mandrake 10, all librairies needed and the last version of Qt But when I compile I've got: make[5]: Entering directory `/home/manu/downloads/muse-0.7.1/muse/liste' /usr/lib/qt3//bin/uic -L ../../muse/widgets -o editctrlbase.cpp -impl editctrlbase.h editctrlbase.ui /usr/lib/qt3//bin/moc editctrlbase.h -o moc_editctrlbase.cpp g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -fno-exceptions -Wall -W -D_GNU_SOURCE -D_REENTRANT -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -I../.. -I../../muse/widgets -I/usr/lib/qt3//include -I.. -I../../synti -I../../muse/widgets -DQT_SHARED -DQT_THREAD_SUPPORT -DQT_PLUGIN -g -O2 -c editctrlbase.cpp -o base_editctrlbase.o editctrlbase.cpp: In constructor `EditCtrlBase::EditCtrlBase(QWidget*, const char*, bool, unsigned int)': editctrlbase.cpp:54: error: invalid use of undefined type `struct PosEdit' editctrlbase.h:22: error: forward declaration of `struct PosEdit' editctrlbase.cpp:56: error: no matching function for call to `QGridLayout::addWidget(PosEdit*&, int, int)' /usr/lib/qt3/include/qlayout.h:331: error: candidates are: void QGridLayout::addWidget(QWidget*, int, int, int) Bug or wrong config ? ---------------------------------------------------------------------- Comment By: Robert Jonsson (spamatica) Date: 2005-02-26 22:44 Message: Logged In: YES user_id=81832 Hi, As I recall this is a problem with QT, some of the files are generated. One of the generations probably failed for some reason. I've seen this in the past but I don't really remember what the proper cause of action was... It's interesting that it worked when adding posedit.h ! ---------------------------------------------------------------------- Comment By: manouxus (manouxus) Date: 2005-02-26 18:04 Message: Logged In: YES user_id=1226057 Ok !! It works with #include "posedit.h" in editctrlbase.h ! thanks a lot !!! ---------------------------------------------------------------------- Comment By: Mathias Lundgren (lunar_shuttle) Date: 2005-02-26 16:53 Message: Logged In: YES user_id=896178 Strange, what version of libtool are you using? The "supported" libtool version is 1.4, but I think the configure-script checks for this already, so... Hmmm... One workaround you can try is to #include "posedit.h" in your autogenerated editctrlbase.h in the liste-directory. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=604222&aid=1150023&group_id=93414 |