LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem installing qt-copy (https://www.linuxquestions.org/questions/linux-software-2/problem-installing-qt-copy-61757/)

kko88 05-25-2003 03:36 PM

Problem installing qt-copy
 
I'm trying to install qt-copy so I can install a theme for kde but I receive a very long error message/ series of error messages in the Konsole.

The first ... "paragraph" goes like this:
Quote:

Creating qmake. Please wait...
g++ -c -o project.o -g -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/usr/local/qt/include/qmake -I/usr/local/qt/include -I/usr/local/qt/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/local/qt/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP project.cpp
In file included from project.cpp:38:
project.h:40:25: qstringlist.h: No such file or directory
project.h:41:21: qstring.h: No such file or directory
project.h:42:18: qmap.h: No such file or directory
Somewhere in the middle....

Quote:

project.cpp:89: error: `params' was not declared in this scope
project.cpp:89: error: parse error before `;' token
project.cpp:89: error: syntax error before `++' token
project.cpp:100: error: ISO C++ forbids declaration of `last' with no type
project.cpp:100: error: redefinition of `int last'
project.cpp:87: error: `int last' previously defined here
project.cpp:100: error: `x' was not declared in this scope
project.cpp:101: error: parse error before `}' token
project.cpp:108: error: syntax error before `(' token
project.cpp:111: error: 'QStringList' is used as a type, but is not defined as
a type.
project.cpp:112: error: `QChar' was not declared in this scope
project.cpp:112: error: 'QValueStack' is used as a type, but is not defined as
a type.
and the end...

Quote:

project.cpp:1122: error: `int debug_msg' previously defined here
project.cpp:1317: error: initializer list being treated as compound expression
project.cpp:1318: error: syntax error before `.' token
project.cpp:1319: error: syntax error before `+=' token
gmake: *** [project.o] Error 1
qmake failed to build. Aborting.
I'm am so very confused. Would this error require me to edit some header files and such? Or touch some of the C/C++ code? What a scary thought... Thanks for any help!

qanopus 05-25-2003 05:12 PM

It looks like you don't have the qt headers installed. Do "locate qstring.h" for me will ye. If you don't see any thing like "/usr/local/qt/include/qstring.h", it'l mean you don't have the qt headers installed.
I'm not sure. You could try to install the development package of qt. Somthing like qt-devel<somthing>. The exact package depends on the distro you are using and what version of qt you are using now.

kko88 05-25-2003 06:45 PM

Thanks! I installed the devel for the qt package but then I found a readme for the qt-copy (lol stupid me for not seeing that) and that helped. Took more than an hour, but I got it! Hehe thanks for the help.


All times are GMT -5. The time now is 04:43 AM.