LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Updating Qt for kxdocker? (https://www.linuxquestions.org/questions/linux-newbie-8/updating-qt-for-kxdocker-196438/)

patrickclay 06-22-2004 12:21 PM

Updating Qt for kxdocker?
 
Hello! I'm trying compile kxdocker but receive the error:

checking for Qt... configure: error: Qt (>= Qt 3.0) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!

I found an RPM for a more recent version of QT (qt-3.3.2) but there are so many programs that are dependant on the old Qt library (3.1). What can I do about this?

Thank you so much for your time!

Mara 06-22-2004 03:51 PM

Do you have qt-devel package? If not, install it and try again. It should help.

patrickclay 06-23-2004 11:52 PM

Thanks! I installed qt-devel and now it compiles. However, when I run make i get the following error message:

In file included from xeplugin_taskmanager.h:26,
from kxdocker.cpp:25:
taskmanager.h:217: error: syntax error before `&' token
taskmanager.h:379: error: syntax error before `;' token
taskmanager.h:51: error: ISO C++ forbids declaration of `Task' with no type
taskmanager.h: In member function `QString Task::visibleIconicName() const':
taskmanager.h:88: error: `_info' undeclared (first use this function)
taskmanager.h:88: error: (Each undeclared identifier is reported only once for
each function it appears in.)
taskmanager.h: In member function `QValueList<WId> Task::transients() const':
taskmanager.h:102: error: `_transients' undeclared (first use this function)
taskmanager.h: In member function `double Task::thumbnailSize() const':
taskmanager.h:232: error: `_thumbSize' undeclared (first use this function)
taskmanager.h: In member function `bool Task::hasThumbnail() const':
taskmanager.h:245: error: `_thumb' undeclared (first use this function)
In file included from kxdocker.cpp:31:
xeplugin_gepager.h: At global scope:
xeplugin_gepager.h:56: error: syntax error before `*' token
xeplugin_gepager.h:57: error: `WindowInfo' is not a member of type `KWin'
xeplugin_gepager.h:57: error: template argument 1 is invalid
xeplugin_gepager.h:57: error: ISO C++ forbids declaration of `windows' with no
type
kxdocker.cpp: In constructor `KXDocker::KXDocker()':
kxdocker.cpp:80: warning: comparison between signed and unsigned integer
expressions
kxdocker.cpp:83: warning: format not a string literal and no format arguments
make[2]: *** [kxdocker.o] Error 1
make[2]: Leaving directory `/home/patrick/Desktop/Stuff/kxdocker-0.20b/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/patrick/Desktop/Stuff/kxdocker-0.20b'
make: *** [all] Error 2


Any suggestions? Thank you for taking time!

Mara 06-25-2004 11:46 AM

I've checked kxdockers website and it looks it requires KDE 3.2, what means also Qt 3.2. To make it compile you'd need to upgrade both of them...

patrickclay 06-25-2004 10:56 PM

I understand that I need to upgrade which brings me back to my original question:

How can I upgrade to 3.2 when there are so many dependencies on the old one?

When trying to install I receive the error:

patrick]$ rpm -Uvh qt-3.3.2-0.1.i386.rpm qt-devel-3.3.2-0.1.i386.rpm

error: Failed dependencies:
/usr/lib/qt-3.1 is needed by (installed) redhat-artwork-0.88-1
qt-devel = 1:3.1.2-14 is needed by (installed) qt-designer-3.1.2-14

Thank you for being patient. This is all new to me.

Mara 06-27-2004 02:03 PM

Upgrading from RPMs manually is not an easy task. I'd be a much better idea to do this using a tool. You can try yum. Here's more about upgrading: http://www.brandonhutchinson.com/Upg..._with_yum.html

patrickclay 07-15-2004 10:23 AM

When trying to update with yum, I receive the following error:

Code:

Resolving dependencies
...conflict between kdebase and lisa
conflict between kdebase and kxmlrpcd



All times are GMT -5. The time now is 08:57 AM.