LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-24-2009, 08:12 AM   #1
mlpa
Member
 
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 542

Rep: Reputation: 50
Bouml qt4


Hi, I have slackware current, with QT4, I want install BOUML, but I get this error:
"/usr/lib/bouml/bouml: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory"

What can I do??
 
Old 04-24-2009, 09:11 AM   #2
norobro
Member
 
Registered: Feb 2006
Distribution: Debian Sid
Posts: 792

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
From the BOUML docs:
Quote:
The implementation of BOUML is compatible with Qt version 2.4 up to (at least) the 3.3, but the Qt 4 releases can't be used because these releases are not compatible with the previous.
So I'd say you need to install a QT3 version.
 
Old 03-29-2010, 02:51 PM   #3
mlpa
Member
 
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 542

Original Poster
Rep: Reputation: 50
Hi everyone, I install qt3 from extra.
But I still can't install bouml.
I have this output:
Quote:
Generate BOUML and the hand made plug-outs
for i in src src/CppGenerator src/CppReverse src/CppRoundtrip src/JavaGenerator src/JavaReverse src/JavaRoundtrip src/JavaCat src/PhpGenerator src/PhpReverse src/PythonGenerator src/IdlGenerator src/PlugOutUpgrade src/ProjectControl src/ProjectSynchro src/RoundtripBody; do if [ -d $i ]; then ( cd $i; QT4DIR=/opt/kde3/lib/qt3 qmake; ) || exit 1 ; make -C $i || exit 1 ; fi; done
make[1]: Entering directory `/root/Desktop/bouml_4.19.2/src'
g++ -c -pipe -O2 -march=i486 -mtune=i686 -Wall -W -D_REENTRANT -DBooL=bool -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt/mkspecs/linux-g++ -I. -I/usr/lib/qt/include/QtCore -I/usr/lib/qt/include/QtGui -I/usr/lib/qt/include -Ibrowser -Idata -Idiagram -Idialog -Imisc -Itool -Ixpm -I. -o BrowserAttribute.o browser/BrowserAttribute.cpp
browser/BrowserAttribute.cpp:30:25: error: qpopupmenu.h: No such file or directory
In file included from browser/BrowserAttribute.h:34,
from browser/BrowserAttribute.cpp:34:
browser/BrowserNode.h:33:19: error: qdict.h: No such file or directory
In file included from browser/BrowserNode.h:37,
from browser/BrowserAttribute.h:34,
from browser/BrowserAttribute.cpp:34:
misc/mystr.h:31:22: error: qstrlist.h: No such file or directory
In file included from browser/BrowserAttribute.h:35,
from browser/BrowserAttribute.cpp:34:
misc/Labeled.h:29:23: error: qintdict.h: No such file or directory
In file included from browser/BrowserAttribute.cpp:48:
dialog/DialogUtil.h:31:28: error: qmultilineedit.h: No such file or directory
In file included from browser/BrowserNode.h:37,
from browser/BrowserAttribute.h:34,
from browser/BrowserAttribute.cpp:34:
misc/mystr.h:46: error: ISO C++ forbids declaration of 'QCString' with no type
misc/mystr.h:46: error: expected ',' or '...' before '&' token
misc/mystr.h:49: error: expected type-specifier before 'QCString'
misc/mystr.h:57: error: 'QStrList' does not name a type
misc/mystr.h:93: error: ISO C++ forbids declaration of 'QCString' with no type
misc/mystr.h:93: error: expected ',' or '...' before '&' token
misc/mystr.h:105: error: expected type-specifier before 'QCString'
misc/mystr.h:109: error: ISO C++ forbids declaration of 'QCString' with no type
misc/mystr.h:109: error: expected ',' or '...' before '&' token
misc/mystr.h:93: warning: unused parameter 'QCString'
misc/mystr.h:127: error: ISO C++ forbids declaration of 'QCString' with no type
misc/mystr.h:127: error: expected ',' or '...' before '&' token
misc/mystr.h:130: error: expected type-specifier before 'QCString'
In file included from browser/BrowserAttribute.h:34,
from browser/BrowserAttribute.cpp:34:
browser/BrowserNode.h:64: error: expected class-name before ',' token
browser/BrowserNode.h:95: error: 'QListViewItem' has not been declared
browser/BrowserNode.h:124: error: 'QDict' has not been declared
browser/BrowserNode.h:124: error: expected ',' or '...' before '<' token
browser/BrowserNode.h: In member function 'bool BrowserNode::nestedp() const':
browser/BrowserNode.h:135: error: 'parent' was not declared in this scope
browser/BrowserNode.h: In member function 'QString BrowserNode::fullname(bool) const':
browser/BrowserNode.h:247: error: 'parent' was not declared in this scope
browser/BrowserNode.h: In member function 'QString BrowserNode::fullname(QString&, bool) const':
browser/BrowserNode.h:258: error: 'parent' was not declared in this scope
browser/BrowserNode.h: At global scope:
browser/BrowserNode.h:272: error: 'QCollection' has not been declared
browser/BrowserNode.h:272: error: expected ',' or '...' before 'item1'
In file included from browser/BrowserAttribute.h:35,
from browser/BrowserAttribute.cpp:34:
misc/Labeled.h:75: error: ISO C++ forbids declaration of 'QIntDict' with no type
misc/Labeled.h:75: error: expected ';' before '<' token
misc/Labeled.h:76: error: ISO C++ forbids declaration of 'QIntDict' with no type
misc/Labeled.h:76: error: expected ';' before '<' token
misc/Labeled.h: In constructor 'IdDict<X>::IdDict(int, const char*)':
misc/Labeled.h:82: error: 'dict' was not declared in this scope
misc/Labeled.h: In member function 'X* IdDict<X>:perator[](int)':
misc/Labeled.h:85: error: 'dict' was not declared in this scope
misc/Labeled.h: In member function 'void IdDict<X>::remove(int)':
misc/Labeled.h:89: error: 'dict' was not declared in this scope
misc/Labeled.h: In member function 'void IdDict<X>::clear(bool)':
misc/Labeled.h:94: error: 'dict' was not declared in this scope
misc/Labeled.h:95: error: 'dictlib' was not declared in this scope
misc/Labeled.h:99: error: 'dict' was not declared in this scope
misc/Labeled.h: In member function 'void IdDict<X>::update_idmax_for_root()':
misc/Labeled.h:104: error: 'QIntDictIterator' was not declared in this scope
misc/Labeled.h:104: error: expected primary-expression before '>' token
misc/Labeled.h:104: error: 'dict' was not declared in this scope
misc/Labeled.h:104: error: there are no arguments to 'it' that depend on a template parameter, so a declaration of 'it' must be available
misc/Labeled.h:104: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
misc/Labeled.h:106: error: 'it' was not declared in this scope
misc/Labeled.h: In member function 'void IdDict<X>::memo_id_oid(int, int)':
misc/Labeled.h:120: error: 'dict' was not declared in this scope
misc/Labeled.h:121: error: 'dictlib' was not declared in this scope
misc/Labeled.h: At global scope:
misc/Labeled.h:128: error: expected template-name before '<' token
misc/Labeled.h:128: error: expected '{' before '<' token
misc/Labeled.h:128: error: expected unqualified-id before '<' token
In file included from browser/BrowserAttribute.cpp:36:
browser/BrowserClass.h:57: error: ISO C++ forbids declaration of 'QValueList' with no type
browser/BrowserClass.h:57: error: expected ';' before '<' token
browser/BrowserClass.h:81: error: 'QValueList' has not been declared
browser/BrowserClass.h:81: error: expected ',' or '...' before '<' token
browser/BrowserClass.h:91: error: ISO C++ forbids declaration of 'QValueList' with no type
browser/BrowserClass.h:91: error: expected ';' before '<' token
browser/BrowserClass.h:149: error: 'QDict' has not been declared
browser/BrowserClass.h:149: error: expected ',' or '...' before '<' token
In file included from data/ClassMemberData.h:29,
from data/AttributeData.h:30,
from browser/BrowserAttribute.cpp:37:
data/BasicData.h:82: error: ISO C++ forbids declaration of 'QCString' with no type
data/BasicData.h:82: error: expected ',' or '...' before '&' token
In file included from browser/BrowserAttribute.cpp:39:
browser/BrowserActivityAction.h:85: error: ISO C++ forbids declaration of 'QValueList' with no type
browser/BrowserActivityAction.h:85: error: expected ';' before '<' token
browser/BrowserActivityAction.h:86: error: ISO C++ forbids declaration of 'QValueList' with no type
browser/BrowserActivityAction.h:86: error: expected ';' before '<' token
In file included from browser/BrowserAttribute.cpp:45:
dialog/MenuTitle.h:31: error: expected class-name before '{' token
In file included from browser/BrowserAttribute.cpp:46:
misc/strutil.h:47: error: variable or field 'remove_comments' declared void
misc/strutil.h:47: error: 'QCString' was not declared in this scope
misc/strutil.h:47: error: 's' was not declared in this scope
misc/strutil.h:49: error: variable or field 'remove_python_comments' declared void
misc/strutil.h:49: error: 'QCString' was not declared in this scope
misc/strutil.h:49: error: 's' was not declared in this scope
misc/strutil.h:51: error: variable or field 'remove_preprocessor' declared void
misc/strutil.h:51: error: 'QCString' was not declared in this scope
misc/strutil.h:51: error: 's' was not declared in this scope
misc/strutil.h:59: error: 'QCString' does not name a type
In file included from browser/BrowserAttribute.cpp:48:
dialog/DialogUtil.h:55: error: expected class-name before '{' token
dialog/DialogUtil.h: In constructor 'MultiLineEdit::MultiLineEdit(QWidget*, const char*)':
dialog/DialogUtil.h:57: error: class 'MultiLineEdit' does not have any field named 'QMultiLineEdit'
dialog/DialogUtil.h: In member function 'void MultiLineEdit::setTheText(const QString&)':
dialog/DialogUtil.h:66: error: 'QMultiLineEdit' has not been declared
dialog/DialogUtil.h: In member function 'QString MultiLineEdit::theText() const':
dialog/DialogUtil.h:70: error: 'QMultiLineEdit' has not been declared
dialog/DialogUtil.h: In constructor 'LineEdit::LineEdit(const QString&, QWidget*, const char*)':
dialog/DialogUtil.h:78: error: no matching function for call to 'QLineEdit::QLineEdit(const QString&, QWidget*&, const char*&)'
/usr/lib/qt/include/QtGui/qlineedit.h:267: note: candidates are: QLineEdit::QLineEdit(const QLineEdit&)
/usr/lib/qt/include/QtGui/qlineedit.h:88: note: QLineEdit::QLineEdit(const QString&, QWidget*)
/usr/lib/qt/include/QtGui/qlineedit.h:87: note: QLineEdit::QLineEdit(QWidget*)
browser/BrowserAttribute.cpp: In member function 'virtual BrowserNode* BrowserAttribute::duplicate(BrowserNode*, QString)':
browser/BrowserAttribute.cpp:91: error: 'parent' was not declared in this scope
browser/BrowserAttribute.cpp:94: error: no matching function for call to 'BrowserAttribute::set_name(QString&)'
browser/BrowserNode.h:106: note: candidates are: virtual void BrowserNode::set_name(const char*)
browser/BrowserAttribute.cpp: In member function 'void BrowserAttribute::add_get_oper()':
browser/BrowserAttribute.cpp:177: error: 'parent' was not declared in this scope
browser/BrowserAttribute.cpp: In member function 'void BrowserAttribute::add_set_oper()':
browser/BrowserAttribute.cpp:183: error: 'parent' was not declared in this scope
browser/BrowserAttribute.cpp: In member function 'virtual void BrowserAttribute:aintCell(QPainter*, const QColorGroup&, int, int, int)':
browser/BrowserAttribute.cpp:216: error: 'class QPainter' has no member named 'backgroundColor'
browser/BrowserAttribute.cpp:219: error: 'OpaqueMode' was not declared in this scope
browser/BrowserAttribute.cpp:220: error: 'class QPainter' has no member named 'setBackgroundColor'
browser/BrowserAttribute.cpp:226: error: 'QListViewItem' has not been declared
browser/BrowserAttribute.cpp:229: error: 'TransparentMode' was not declared in this scope
browser/BrowserAttribute.cpp:230: error: 'class QPainter' has no member named 'setBackgroundColor'
browser/BrowserAttribute.cpp: In member function 'virtual void BrowserAttribute::menu()':
browser/BrowserAttribute.cpp:235: error: 'parent' was not declared in this scope
browser/BrowserAttribute.cpp:238: error: variable 'QPopupMenu m' has initializer but incomplete type
browser/BrowserAttribute.cpp:239: error: variable 'QPopupMenu toolm' has initializer but incomplete type
browser/BrowserAttribute.cpp: In member function 'void BrowserAttribute::exec_menu_choice(int)':
browser/BrowserAttribute.cpp:298: error: 'parent' was not declared in this scope
browser/BrowserAttribute.cpp:305: error: 'parent' was not declared in this scope
browser/BrowserAttribute.cpp:320: error: 'parent' was not declared in this scope
browser/BrowserAttribute.cpp:334: error: 'parent' was not declared in this scope
browser/BrowserAttribute.cpp: In member function 'virtual void BrowserAttribute::apply_shortcut(QString)':
browser/BrowserAttribute.cpp:340: error: 'parent' was not declared in this scope
browser/BrowserAttribute.cpp: In member function 'virtual void BrowserAttribute::modified()':
browser/BrowserAttribute.cpp:390: error: 'repaint' was not declared in this scope
browser/BrowserAttribute.cpp:391: error: 'parent' was not declared in this scope
browser/BrowserAttribute.cpp: In static member function 'static void BrowserAttribute::compute_referenced_by(QList<BrowserNode>&, BrowserNode*)':
browser/BrowserAttribute.cpp:447: error: variable 'IdIterator<BrowserAttribute> it' has initializer but incomplete type
browser/BrowserAttribute.cpp: In member function 'virtual void BrowserAttribute:ropAfterEvent(QDropEvent*, BrowserNode*)':
browser/BrowserAttribute.cpp:476: error: 'parent' was not declared in this scope
browser/BrowserAttribute.cpp:478: error: invalid use of incomplete type 'struct QDropEvent'
/usr/lib/qt/include/QtGui/qwidget.h:90: error: forward declaration of 'struct QDropEvent'
browser/BrowserAttribute.cpp: In static member function 'static void BrowserAttribute:ost_load()':
browser/BrowserAttribute.cpp:490: error: variable 'IdIterator<BrowserAttribute> it' has initializer but incomplete type
browser/BrowserAttribute.cpp: In static member function 'static BrowserAttribute* BrowserAttribute::read(char*&, char*, BrowserNode*, bool)':
browser/BrowserAttribute.cpp:597: error: no matching function for call to 'BrowserAttribute::set_parent(BrowserNode*&)'
browser/BrowserNode.h:95: note: candidates are: void BrowserNode::set_parent(int*)
browser/BrowserAttribute.cpp:598: error: no matching function for call to 'BrowserAttribute::set_name(QString&)'
browser/BrowserNode.h:106: note: candidates are: virtual void BrowserNode::set_name(const char*)
In file included from browser/BrowserAttribute.h:35,
from browser/BrowserAttribute.cpp:34:
misc/Labeled.h: In member function 'void IdDict<X>::update_idmax_for_root() [with X = BrowserAttribute]':
browser/BrowserAttribute.cpp:112: instantiated from here
misc/Labeled.h:104: error: 'it' was not declared in this scope
make[1]: *** [BrowserAttribute.o] Error 1
make[1]: Leaving directory `/root/Desktop/bouml_4.19.2/src'
make: *** [compile] Error 1
Can anyone help me?
 
Old 04-03-2010, 08:25 AM   #4
mlpa
Member
 
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 542

Original Poster
Rep: Reputation: 50
I have manage to compile and install the program.
If anyone is interest I can say how.

Someone can mark this solve?
 
Old 04-18-2010, 01:22 PM   #5
++Norton++
LQ Newbie
 
Registered: Apr 2010
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by mlpa View Post
I have manage to compile and install the program.
If anyone is interest I can say how.

Someone can mark this solve?
Please, say me how can you compile this program? I have a same problem.
I use Gentoo and qt4 with qt3 support.
Thank you!
 
Old 04-18-2010, 03:37 PM   #6
mlpa
Member
 
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 542

Original Poster
Rep: Reputation: 50
In slackware I installed the package KDE3Compact that have qt3.
I just modify the makefile to use qmake from qt3 instead qt4:
Quote:
QMAKE=qmake
to
Quote:
QMAKE=[PATH_TO_QMAKE_FROM_QT3]
One note I have to reboot after install the package.
 
Old 04-20-2010, 12:32 AM   #7
++Norton++
LQ Newbie
 
Registered: Apr 2010
Posts: 2

Rep: Reputation: 0
Thank you! I'll try it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
qt4 package rastos Slackware 3 01-13-2009 03:13 AM
Qt4 STARHARVEST Slackware 7 10-08-2008 08:56 AM
Cant install BOUML under amd64 alek66 Ubuntu 0 04-18-2007 08:57 AM
Compiling qt4 apps for non-qt4 linux, win, mac birdseye Programming 4 10-31-2005 04:45 AM
qt3 or qt4 crAckZ Programming 1 09-06-2005 05:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration