• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] QTDIR environment variable setzen?

knutux

Newbie
Mit: export QTDIR=/usr/lib/qt3 wird die Variable gesetzt
Mit: echo $QTDIR läßt sich das prüfen

hat mir zwar nicht geholfen qtstalker zu installieren (Problem besteht noch),
aber wegen des Titels habe ich es mal reingeschrieben


Hallo,

hoffentlich bin ich hier richtig:
ich möchte das Programm qtstalker installieren. In der Doku steht:
"Check to make sure you have your shell QTDIR environment variable set to point to the location of the root Qt directory. This setting is usually something like this: 'export QTDIR=/usr/lib/qt' or something similar to this. "

ok, ich habe daher folgendes in der Konsole als su ausgeführt (nachdem überprüft habe, daß der Pfad korrekt ist):

export QTDIR=/usr/lib/qt

Leider bekomme ich trotzdem (?) nach ./configure und make nur eine sehr lange Fehlerliste.
Daher vermute ich, dass der angegebene Ausdruck für SUSE 10.0 wohl nur similar ist und daher nicht funktioniert. Oder was habe ich falsch gemacht?

Die in der Doku angegebenen Pakete qt und Berkely DB habe ich mit apt installiert weiter Vorraussetzungen sind nicht angegeben.

Ein rpm für qtstalker konnte ich nicht finden.

Wäre toll, wenn mir jemand einen Tip geben könnte.

Grüße, knutux
 
Welche Qt-Version wird denn vorausgesetzt? Für 3.x-Versionen gilt

export QTDIR=/usr/lib/qt3

QTDIR ist übrigens bei SuSE schon von Hause aus richtig gesetzt, d.h. den Schritt kann man sich auch komplett sparen.

PS: Der Wortlaut der Originalfehlermeldung wäre auch nützlich, um das Problem zu beheben.

Und Du brauchst die passenden -devel-Pakete zu den Bibliotheken, also nicht nur qt3, sondern auch qt3-devel
 
OP
K

knutux

Newbie
vielen Dank für Eure Hinweise.

Ich habe export QTDIR=.... als user ausgeführt (verstehe aber nicht was das für configure ändert) ./configure habe ich als su ausgeführt, als user kommt die Fehlermeldung, dass nicht geschrieben werden kann.

Es sind qt (4.1.0) und qt3 (3.3.5) (+jeweils devel-paket) gestern mit apt installiert worden (war nicht dabei, SUSE10 von der pcWelt)

export QTDIR=/usr/lib/qt3 (als su) erzeugt folgende Meldung nach make:

cd lib && make
make[1]: Entering directory `/opt/qtstalker-0.32/qtstalker/lib'
g++ -c -pipe -fno-strict-aliasing -ffast-math -Os -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_COMPAT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. -o QuotePlugin.o QuotePlugin.cpp
In file included from QuotePlugin.cpp:22:
QuotePlugin.h:27:30: error: qnetworkprotocol.h: Datei oder Verzeichnis nicht gefunden
QuotePlugin.h:28:26: error: qurloperator.h: Datei oder Verzeichnis nicht gefunden
In file included from QuotePlugin.cpp:23:
Config.h:29:19: error: qdict.h: Datei oder Verzeichnis nicht gefunden
In file included from ChartPlugin.h:27,
from Config.h:30,
from QuotePlugin.cpp:23:
BarData.h:25:22: error: qptrlist.h: Datei oder Verzeichnis nicht gefunden
In file included from ChartPlugin.h:28,
from Config.h:30,
from QuotePlugin.cpp:23:
Scaler.h:26:23: error: qmemarray.h: Datei oder Verzeichnis nicht gefunden
In file included from Config.h:31,
from QuotePlugin.cpp:23:
DbPlugin.h:28:16: error: db.h: Datei oder Verzeichnis nicht gefunden
In file included from Config.h:34,
from QuotePlugin.cpp:23:
COPlugin.h:32:24: error: qpopupmenu.h: Datei oder Verzeichnis nicht gefunden
QuotePlugin.h:60: error: ‘QNetworkOperation’ has not been declared
QuotePlugin.h:61: error: ‘QNetworkOperation’ has not been declared
QuotePlugin.h:62: error: ‘QNetworkOperation’ has not been declared
QuotePlugin.h:71: error: ISO C++ forbids declaration of ‘QUrlOperator’ with no type
QuotePlugin.h:71: error: expected ‘;’ before ‘*’ token
Bar.h:70: error: ISO C++ forbids declaration of ‘QDict’ with no type
Bar.h:70: error: expected ‘;’ before ‘<’ token
PlotLine.h:84: error: ISO C++ forbids declaration of ‘QPtrList’ with no type
PlotLine.h:84: error: expected ‘;’ before ‘<’ token
PlotLine.h:85: error: ISO C++ forbids declaration of ‘QPtrList’ with no type
PlotLine.h:85: error: expected ‘;’ before ‘<’ token
BarData.h:99: error: ISO C++ forbids declaration of ‘QPtrList’ with no type
BarData.h:99: error: expected ‘;’ before ‘<’ token
BarData.h:100: error: ISO C++ forbids declaration of ‘QDict’ with no type
BarData.h:100: error: expected ‘;’ before ‘<’ token
Scaler.h:36: error: ‘QMemArray’ has not been declared
Scaler.h:36: error: expected ‘,’ or ‘...’ before ‘<’ token
Setting.h:46: error: ISO C++ forbids declaration of ‘QDict’ with no type
Setting.h:46: error: expected ‘;’ before ‘<’ token
DbPlugin.h:95: error: ISO C++ forbids declaration of ‘DB’ with no type
DbPlugin.h:95: error: expected ‘;’ before ‘*’ token
Indicator.h:62: error: ISO C++ forbids declaration of ‘QPtrList’ with no type
Indicator.h:62: error: expected ‘;’ before ‘<’ token
IndicatorPlugin.h:65: error: ‘calculateCustom’ declared as a ‘virtual’ field
IndicatorPlugin.h:65: error: expected ‘;’ before ‘(’ token
IndicatorPlugin.h:83: error: ISO C++ forbids declaration of ‘QDict’ with no type
IndicatorPlugin.h:83: error: expected ‘;’ before ‘<’ token
COPlugin.h:63: error: ‘QKeyEvent’ has not been declared
COPlugin.h:79: error: ISO C++ forbids declaration of ‘QPopupMenu’ with no type
COPlugin.h:79: error: expected ‘;’ before ‘*’ token
Config.h:127: error: ISO C++ forbids declaration of ‘QDict’ with no type
Config.h:127: error: expected ‘;’ before ‘<’ token
Config.h:128: error: ISO C++ forbids declaration of ‘QDict’ with no type
Config.h:128: error: expected ‘;’ before ‘<’ token
Config.h:129: error: ISO C++ forbids declaration of ‘QDict’ with no type
Config.h:129: error: expected ‘;’ before ‘<’ token
Config.h:130: error: ISO C++ forbids declaration of ‘QDict’ with no type
Config.h:130: error: expected ‘;’ before ‘<’ token
Config.h:131: error: ISO C++ forbids declaration of ‘QDict’ with no type
Config.h:131: error: expected ‘;’ before ‘<’ token
Config.h:132: error: ISO C++ forbids declaration of ‘QDict’ with no type
Config.h:132: error: expected ‘;’ before ‘<’ token
QuotePlugin.cpp: In constructor ‘QuotePlugin::QuotePlugin()’:
QuotePlugin.cpp:29: error: ‘op’ was not declared in this scope
QuotePlugin.cpp: In destructor ‘virtual QuotePlugin::~QuotePlugin()’:
QuotePlugin.cpp:40: error: ‘op’ was not declared in this scope
QuotePlugin.cpp:43: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
QuotePlugin.cpp: In member function ‘QString QuotePlugin::stripJunk(QString&)’:
QuotePlugin.cpp:51: error: ‘class QString’ has no member named ‘stripWhiteSpace’
QuotePlugin.cpp:55: error: ‘class QString’ has no member named ‘find’
QuotePlugin.cpp: In member function ‘bool QuotePlugin::setTFloat(QString&, bool)’:
QuotePlugin.cpp:70: error: ‘class QString’ has no member named ‘find’
QuotePlugin.cpp:73: error: ‘class QString’ has no member named ‘find’
QuotePlugin.cpp:77: error: ‘class QString’ has no member named ‘find’
QuotePlugin.cpp:84: error: ‘class QString’ has no member named ‘find’
QuotePlugin.cpp:89: error: ‘class QString’ has no member named ‘find’
QuotePlugin.cpp: In member function ‘QString QuotePlugin::createDirectory(QString&)’:
QuotePlugin.cpp:105: error: ‘split’ is not a member of ‘QStringList’
QuotePlugin.cpp:112: error: no matching function for call to ‘QDir::exists(QString&, bool)’
/usr/include/QtCore/qdir.h:152: note: candidates are: bool QDir::exists() const
/usr/include/QtCore/qdir.h:166: note: bool QDir::exists(const QString&) const
QuotePlugin.cpp:114: error: no matching function for call to ‘QDir::mkdir(QString&, bool)’
/usr/include/QtCore/qdir.h:146: note: candidates are: bool QDir::mkdir(const QString&) const
QuotePlugin.cpp: In member function ‘void QuotePlugin::getFile(QString&)’:
QuotePlugin.cpp:134: error: ‘op’ was not declared in this scope
QuotePlugin.cpp:137: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
QuotePlugin.cpp:142: error: no matching function for call to ‘QTimer::start(int, bool)’
/usr/include/QtCore/qtimer.h:58: note: candidates are: void QTimer::start(int)
/usr/include/QtCore/qtimer.h:60: note: void QTimer::start()
QuotePlugin.cpp:144: error: ‘op’ was not declared in this scope
QuotePlugin.cpp:144: error: expected type-specifier before ‘QUrlOperator’
QuotePlugin.cpp:144: error: expected `;' before ‘QUrlOperator’
QuotePlugin.cpp:145: error: no matching function for call to ‘QuotePlugin::connect(<type error>, const char [31], QuotePlugin* const, const char [34])’
/usr/include/QtCore/qobject.h:174: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
/usr/include/QtCore/qobject.h:274: note: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
QuotePlugin.cpp:146: error: no matching function for call to ‘QuotePlugin::connect(<type error>, const char [47], QuotePlugin* const, const char [52])’
/usr/include/QtCore/qobject.h:174: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
/usr/include/QtCore/qobject.h:274: note: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
QuotePlugin.cpp: At global scope:
QuotePlugin.cpp:132: warning: unused parameter ‘url’
QuotePlugin.cpp: In member function ‘void QuotePlugin::copyFile(QString&, QString&)’:
QuotePlugin.cpp:152: error: ‘op’ was not declared in this scope
QuotePlugin.cpp:155: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
QuotePlugin.cpp:158: error: no matching function for call to ‘QTimer::start(int, bool)’
/usr/include/QtCore/qtimer.h:58: note: candidates are: void QTimer::start(int)
/usr/include/QtCore/qtimer.h:60: note: void QTimer::start()
QuotePlugin.cpp:163: error: ‘op’ was not declared in this scope
QuotePlugin.cpp:163: error: expected type-specifier before ‘QUrlOperator’
QuotePlugin.cpp:163: error: expected `;' before ‘QUrlOperator’
QuotePlugin.cpp:164: error: no matching function for call to ‘QuotePlugin::connect(<type error>, const char [31], QuotePlugin* const, const char [35])’
/usr/include/QtCore/qobject.h:174: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
/usr/include/QtCore/qobject.h:274: note: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
QuotePlugin.cpp: At global scope:
QuotePlugin.cpp:168: error: variable or field ‘getFileDone’ declared void
QuotePlugin.cpp:168: error: ‘int QuotePlugin::getFileDone’ is not a static member of ‘class QuotePlugin’
QuotePlugin.cpp:168: error: ‘QNetworkOperation’ was not declared in this scope
QuotePlugin.cpp:168: error: ‘o’ was not declared in this scope
QuotePlugin.cpp:169: error: expected ‘,’ or ‘;’ before ‘{’ token
QuotePlugin.cpp:187: error: variable or field ‘copyFileDone’ declared void
QuotePlugin.cpp:187: error: ‘int QuotePlugin::copyFileDone’ is not a static member of ‘class QuotePlugin’
QuotePlugin.cpp:187: error: ‘QNetworkOperation’ was not declared in this scope
QuotePlugin.cpp:187: error: ‘o’ was not declared in this scope
QuotePlugin.cpp:188: error: expected ‘,’ or ‘;’ before ‘{’ token
QuotePlugin.cpp:212: error: ‘QNetworkOperation’ has not been declared
QuotePlugin.cpp: In member function ‘void QuotePlugin::slotTimeout()’:
QuotePlugin.cpp:222: error: ‘op’ was not declared in this scope
make[1]: *** [QuotePlugin.o] Fehler 1
make[1]: Leaving directory `/opt/qtstalker-0.32/qtstalker/lib'
make: *** [sub-lib-make_default] Fehler 2
linux:/opt/qtstalker-0.32/qtstalker # export QTDIR=/usr/lib/qt3
linux:/opt/qtstalker-0.32/qtstalker # ./configure
Building Makefile...
Done
linux:/opt/qtstalker-0.32/qtstalker # make
cd lib && make
make[1]: Entering directory `/opt/qtstalker-0.32/qtstalker/lib'
g++ -c -pipe -fno-strict-aliasing -ffast-math -Os -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_COMPAT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. -o QuotePlugin.o QuotePlugin.cpp
In file included from QuotePlugin.cpp:22:
QuotePlugin.h:27:30: error: qnetworkprotocol.h: Datei oder Verzeichnis nicht gefunden
QuotePlugin.h:28:26: error: qurloperator.h: Datei oder Verzeichnis nicht gefunden
In file included from QuotePlugin.cpp:23:
Config.h:29:19: error: qdict.h: Datei oder Verzeichnis nicht gefunden
In file included from ChartPlugin.h:27,
from Config.h:30,
from QuotePlugin.cpp:23:
BarData.h:25:22: error: qptrlist.h: Datei oder Verzeichnis nicht gefunden
In file included from ChartPlugin.h:28,
from Config.h:30,
from QuotePlugin.cpp:23:
Scaler.h:26:23: error: qmemarray.h: Datei oder Verzeichnis nicht gefunden
In file included from Config.h:31,
from QuotePlugin.cpp:23:
DbPlugin.h:28:16: error: db.h: Datei oder Verzeichnis nicht gefunden
In file included from Config.h:34,
from QuotePlugin.cpp:23:
COPlugin.h:32:24: error: qpopupmenu.h: Datei oder Verzeichnis nicht gefunden
QuotePlugin.h:60: error: ‘QNetworkOperation’ has not been declared
QuotePlugin.h:61: error: ‘QNetworkOperation’ has not been declared
QuotePlugin.h:62: error: ‘QNetworkOperation’ has not been declared
QuotePlugin.h:71: error: ISO C++ forbids declaration of ‘QUrlOperator’ with no type
QuotePlugin.h:71: error: expected ‘;’ before ‘*’ token
Bar.h:70: error: ISO C++ forbids declaration of ‘QDict’ with no type
Bar.h:70: error: expected ‘;’ before ‘<’ token
PlotLine.h:84: error: ISO C++ forbids declaration of ‘QPtrList’ with no type
PlotLine.h:84: error: expected ‘;’ before ‘<’ token
PlotLine.h:85: error: ISO C++ forbids declaration of ‘QPtrList’ with no type
PlotLine.h:85: error: expected ‘;’ before ‘<’ token
BarData.h:99: error: ISO C++ forbids declaration of ‘QPtrList’ with no type
BarData.h:99: error: expected ‘;’ before ‘<’ token
BarData.h:100: error: ISO C++ forbids declaration of ‘QDict’ with no type
BarData.h:100: error: expected ‘;’ before ‘<’ token
Scaler.h:36: error: ‘QMemArray’ has not been declared
Scaler.h:36: error: expected ‘,’ or ‘...’ before ‘<’ token
Setting.h:46: error: ISO C++ forbids declaration of ‘QDict’ with no type
Setting.h:46: error: expected ‘;’ before ‘<’ token
DbPlugin.h:95: error: ISO C++ forbids declaration of ‘DB’ with no type
DbPlugin.h:95: error: expected ‘;’ before ‘*’ token
Indicator.h:62: error: ISO C++ forbids declaration of ‘QPtrList’ with no type
Indicator.h:62: error: expected ‘;’ before ‘<’ token
IndicatorPlugin.h:65: error: ‘calculateCustom’ declared as a ‘virtual’ field
IndicatorPlugin.h:65: error: expected ‘;’ before ‘(’ token
IndicatorPlugin.h:83: error: ISO C++ forbids declaration of ‘QDict’ with no type
IndicatorPlugin.h:83: error: expected ‘;’ before ‘<’ token
COPlugin.h:63: error: ‘QKeyEvent’ has not been declared
COPlugin.h:79: error: ISO C++ forbids declaration of ‘QPopupMenu’ with no type
COPlugin.h:79: error: expected ‘;’ before ‘*’ token
Config.h:127: error: ISO C++ forbids declaration of ‘QDict’ with no type
Config.h:127: error: expected ‘;’ before ‘<’ token
Config.h:128: error: ISO C++ forbids declaration of ‘QDict’ with no type
Config.h:128: error: expected ‘;’ before ‘<’ token
Config.h:129: error: ISO C++ forbids declaration of ‘QDict’ with no type
Config.h:129: error: expected ‘;’ before ‘<’ token
Config.h:130: error: ISO C++ forbids declaration of ‘QDict’ with no type
Config.h:130: error: expected ‘;’ before ‘<’ token
Config.h:131: error: ISO C++ forbids declaration of ‘QDict’ with no type
Config.h:131: error: expected ‘;’ before ‘<’ token
Config.h:132: error: ISO C++ forbids declaration of ‘QDict’ with no type
Config.h:132: error: expected ‘;’ before ‘<’ token
QuotePlugin.cpp: In constructor ‘QuotePlugin::QuotePlugin()’:
QuotePlugin.cpp:29: error: ‘op’ was not declared in this scope
QuotePlugin.cpp: In destructor ‘virtual QuotePlugin::~QuotePlugin()’:
QuotePlugin.cpp:40: error: ‘op’ was not declared in this scope
QuotePlugin.cpp:43: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
QuotePlugin.cpp: In member function ‘QString QuotePlugin::stripJunk(QString&)’:
QuotePlugin.cpp:51: error: ‘class QString’ has no member named ‘stripWhiteSpace’
QuotePlugin.cpp:55: error: ‘class QString’ has no member named ‘find’
QuotePlugin.cpp: In member function ‘bool QuotePlugin::setTFloat(QString&, bool)’:
QuotePlugin.cpp:70: error: ‘class QString’ has no member named ‘find’
QuotePlugin.cpp:73: error: ‘class QString’ has no member named ‘find’
QuotePlugin.cpp:77: error: ‘class QString’ has no member named ‘find’
QuotePlugin.cpp:84: error: ‘class QString’ has no member named ‘find’
QuotePlugin.cpp:89: error: ‘class QString’ has no member named ‘find’
QuotePlugin.cpp: In member function ‘QString QuotePlugin::createDirectory(QString&)’:
QuotePlugin.cpp:105: error: ‘split’ is not a member of ‘QStringList’
QuotePlugin.cpp:112: error: no matching function for call to ‘QDir::exists(QString&, bool)’
/usr/include/QtCore/qdir.h:152: note: candidates are: bool QDir::exists() const
/usr/include/QtCore/qdir.h:166: note: bool QDir::exists(const QString&) const
QuotePlugin.cpp:114: error: no matching function for call to ‘QDir::mkdir(QString&, bool)’
/usr/include/QtCore/qdir.h:146: note: candidates are: bool QDir::mkdir(const QString&) const
QuotePlugin.cpp: In member function ‘void QuotePlugin::getFile(QString&)’:
QuotePlugin.cpp:134: error: ‘op’ was not declared in this scope
QuotePlugin.cpp:137: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
QuotePlugin.cpp:142: error: no matching function for call to ‘QTimer::start(int, bool)’
/usr/include/QtCore/qtimer.h:58: note: candidates are: void QTimer::start(int)
/usr/include/QtCore/qtimer.h:60: note: void QTimer::start()
QuotePlugin.cpp:144: error: ‘op’ was not declared in this scope
QuotePlugin.cpp:144: error: expected type-specifier before ‘QUrlOperator’
QuotePlugin.cpp:144: error: expected `;' before ‘QUrlOperator’
QuotePlugin.cpp:145: error: no matching function for call to ‘QuotePlugin::connect(<type error>, const char [31], QuotePlugin* const, const char [34])’
/usr/include/QtCore/qobject.h:174: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
/usr/include/QtCore/qobject.h:274: note: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
QuotePlugin.cpp:146: error: no matching function for call to ‘QuotePlugin::connect(<type error>, const char [47], QuotePlugin* const, const char [52])’
/usr/include/QtCore/qobject.h:174: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
/usr/include/QtCore/qobject.h:274: note: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
QuotePlugin.cpp: At global scope:
QuotePlugin.cpp:132: warning: unused parameter ‘url’
QuotePlugin.cpp: In member function ‘void QuotePlugin::copyFile(QString&, QString&)’:
QuotePlugin.cpp:152: error: ‘op’ was not declared in this scope
QuotePlugin.cpp:155: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
QuotePlugin.cpp:158: error: no matching function for call to ‘QTimer::start(int, bool)’
/usr/include/QtCore/qtimer.h:58: note: candidates are: void QTimer::start(int)
/usr/include/QtCore/qtimer.h:60: note: void QTimer::start()
QuotePlugin.cpp:163: error: ‘op’ was not declared in this scope
QuotePlugin.cpp:163: error: expected type-specifier before ‘QUrlOperator’
QuotePlugin.cpp:163: error: expected `;' before ‘QUrlOperator’
QuotePlugin.cpp:164: error: no matching function for call to ‘QuotePlugin::connect(<type error>, const char [31], QuotePlugin* const, const char [35])’
/usr/include/QtCore/qobject.h:174: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
/usr/include/QtCore/qobject.h:274: note: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
QuotePlugin.cpp: At global scope:
QuotePlugin.cpp:168: error: variable or field ‘getFileDone’ declared void
QuotePlugin.cpp:168: error: ‘int QuotePlugin::getFileDone’ is not a static member of ‘class QuotePlugin’
QuotePlugin.cpp:168: error: ‘QNetworkOperation’ was not declared in this scope
QuotePlugin.cpp:168: error: ‘o’ was not declared in this scope
QuotePlugin.cpp:169: error: expected ‘,’ or ‘;’ before ‘{’ token
QuotePlugin.cpp:187: error: variable or field ‘copyFileDone’ declared void
QuotePlugin.cpp:187: error: ‘int QuotePlugin::copyFileDone’ is not a static member of ‘class QuotePlugin’
QuotePlugin.cpp:187: error: ‘QNetworkOperation’ was not declared in this scope
QuotePlugin.cpp:187: error: ‘o’ was not declared in this scope
QuotePlugin.cpp:188: error: expected ‘,’ or ‘;’ before ‘{’ token
QuotePlugin.cpp:212: error: ‘QNetworkOperation’ has not been declared
QuotePlugin.cpp: In member function ‘void QuotePlugin::slotTimeout()’:
QuotePlugin.cpp:222: error: ‘op’ was not declared in this scope
make[1]: *** [QuotePlugin.o] Fehler 1
make[1]: Leaving directory `/opt/qtstalker-0.32/qtstalker/lib'
make: *** [sub-lib-make_default] Fehler 2
linux:/opt/qtstalker-0.32/qtstalker #

QTDIR=/usr/lib/qt erzeugt nach make:

cd lib && make
make[1]: Entering directory `/opt/qtstalker-0.32/qtstalker/lib'
g++ -c -pipe -fno-strict-aliasing -ffast-math -Os -O2 -Wall -W -D_REENTRANT -fPI
C -DQT_NO_COMPAT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/sha
re/qt/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/incl
ude -I. -I. -o QuotePlugin.o QuotePlugin.cpp
In file included from QuotePlugin.cpp:22:
QuotePlugin.h:27:30: error: qnetworkprotocol.h: Datei oder Verzeichnis nicht gef
unden
QuotePlugin.h:28:26: error: qurloperator.h: Datei oder Verzeichnis nicht gefunde
n
In file included from QuotePlugin.cpp:23:
Config.h:29:19: error: qdict.h: Datei oder Verzeichnis nicht gefunden
In file included from ChartPlugin.h:27,
from Config.h:30,
from QuotePlugin.cpp:23:
BarData.h:25:22: error: qptrlist.h: Datei oder Verzeichnis nicht gefunden
In file included from ChartPlugin.h:28,
from Config.h:30,
from QuotePlugin.cpp:23:
Scaler.h:26:23: error: qmemarray.h: Datei oder Verzeichnis nicht gefunden
In file included from Config.h:31,
from QuotePlugin.cpp:23:
DbPlugin.h:28:16: error: db.h: Datei oder Verzeichnis nicht gefunden
In file included from Config.h:34,
from QuotePlugin.cpp:23:
COPlugin.h:32:24: error: qpopupmenu.h: Datei oder Verzeichnis nicht gefunden
QuotePlugin.h:60: error: ‘QNetworkOperation’ has not been declared
QuotePlugin.h:61: error: ‘QNetworkOperation’ has not been declared
QuotePlugin.h:62: error: ‘QNetworkOperation’ has not been declared
QuotePlugin.h:71: error: ISO C++ forbids declaration of ‘QUrlOperator’ with no t
ype
QuotePlugin.h:71: error: expected ‘;’ before ‘*’ token
Bar.h:70: error: ISO C++ forbids declaration of ‘QDict’ with no type
Bar.h:70: error: expected ‘;’ before ‘<’ token
PlotLine.h:84: error: ISO C++ forbids declaration of ‘QPtrList’ with no type
PlotLine.h:84: error: expected ‘;’ before ‘<’ token
PlotLine.h:85: error: ISO C++ forbids declaration of ‘QPtrList’ with no type
PlotLine.h:85: error: expected ‘;’ before ‘<’ token
BarData.h:99: error: ISO C++ forbids declaration of ‘QPtrList’ with no type
BarData.h:99: error: expected ‘;’ before ‘<’ token
BarData.h:100: error: ISO C++ forbids declaration of ‘QDict’ with no type
BarData.h:100: error: expected ‘;’ before ‘<’ token
Scaler.h:36: error: ‘QMemArray’ has not been declared
Scaler.h:36: error: expected ‘,’ or ‘...’ before ‘<’ token
Setting.h:46: error: ISO C++ forbids declaration of ‘QDict’ with no type
Setting.h:46: error: expected ‘;’ before ‘<’ token
DbPlugin.h:95: error: ISO C++ forbids declaration of ‘DB’ with no type
DbPlugin.h:95: error: expected ‘;’ before ‘*’ token
Indicator.h:62: error: ISO C++ forbids declaration of ‘QPtrList’ with no type
Indicator.h:62: error: expected ‘;’ before ‘<’ token
IndicatorPlugin.h:65: error: ‘calculateCustom’ declared as a ‘virtual’ field
IndicatorPlugin.h:65: error: expected ‘;’ before ‘(’ token
IndicatorPlugin.h:83: error: ISO C++ forbids declaration of ‘QDict’ with no type
IndicatorPlugin.h:83: error: expected ‘;’ before ‘<’ token
COPlugin.h:63: error: ‘QKeyEvent’ has not been declared
COPlugin.h:79: error: ISO C++ forbids declaration of ‘QPopupMenu’ with no type
COPlugin.h:79: error: expected ‘;’ before ‘*’ token
Config.h:127: error: ISO C++ forbids declaration of ‘QDict’ with no type
Config.h:127: error: expected ‘;’ before ‘<’ token
Config.h:128: error: ISO C++ forbids declaration of ‘QDict’ with no type
Config.h:128: error: expected ‘;’ before ‘<’ token
Config.h:129: error: ISO C++ forbids declaration of ‘QDict’ with no type
Config.h:129: error: expected ‘;’ before ‘<’ token
Config.h:130: error: ISO C++ forbids declaration of ‘QDict’ with no type
Config.h:130: error: expected ‘;’ before ‘<’ token
Config.h:131: error: ISO C++ forbids declaration of ‘QDict’ with no type
Config.h:131: error: expected ‘;’ before ‘<’ token
Config.h:132: error: ISO C++ forbids declaration of ‘QDict’ with no type
Config.h:132: error: expected ‘;’ before ‘<’ token
QuotePlugin.cpp: In constructor ‘QuotePlugin::QuotePlugin()’:
QuotePlugin.cpp:29: error: ‘op’ was not declared in this scope
QuotePlugin.cpp: In destructor ‘virtual QuotePlugin::~QuotePlugin()’:
QuotePlugin.cpp:40: error: ‘op’ was not declared in this scope
QuotePlugin.cpp:43: error: type ‘<type error>’ argument given to ‘delete’, expec
ted pointer
QuotePlugin.cpp: In member function ‘QString QuotePlugin::stripJunk(QString&)’:
QuotePlugin.cpp:51: error: ‘class QString’ has no member named ‘stripWhiteSpace’
QuotePlugin.cpp:55: error: ‘class QString’ has no member named ‘find’
QuotePlugin.cpp: In member function ‘bool QuotePlugin::setTFloat(QString&, bool)
’:
QuotePlugin.cpp:70: error: ‘class QString’ has no member named ‘find’
QuotePlugin.cpp:73: error: ‘class QString’ has no member named ‘find’
QuotePlugin.cpp:77: error: ‘class QString’ has no member named ‘find’
QuotePlugin.cpp:84: error: ‘class QString’ has no member named ‘find’
QuotePlugin.cpp:89: error: ‘class QString’ has no member named ‘find’
QuotePlugin.cpp: In member function ‘QString QuotePlugin::createDirectory(QStrin
g&)’:
QuotePlugin.cpp:105: error: ‘split’ is not a member of ‘QStringList’
QuotePlugin.cpp:112: error: no matching function for call to ‘QDir::exists(QStri
ng&, bool)’
/usr/include/QtCore/qdir.h:152: note: candidates are: bool QDir::exists() const
/usr/include/QtCore/qdir.h:166: note: bool QDir::exists(const QS
tring&) const
QuotePlugin.cpp:114: error: no matching function for call to ‘QDir::mkdir(QStrin
g&, bool)’
/usr/include/QtCore/qdir.h:146: note: candidates are: bool QDir::mkdir(const QSt
ring&) const
QuotePlugin.cpp: In member function ‘void QuotePlugin::getFile(QString&)’:
QuotePlugin.cpp:134: error: ‘op’ was not declared in this scope
QuotePlugin.cpp:137: error: type ‘<type error>’ argument given to ‘delete’, expe
cted pointer
QuotePlugin.cpp:142: error: no matching function for call to ‘QTimer::start(int,
bool)’
/usr/include/QtCore/qtimer.h:58: note: candidates are: void QTimer::start(int)
/usr/include/QtCore/qtimer.h:60: note: void QTimer::start()
QuotePlugin.cpp:144: error: ‘op’ was not declared in this scope
QuotePlugin.cpp:144: error: expected type-specifier before ‘QUrlOperator’
QuotePlugin.cpp:144: error: expected `;' before ‘QUrlOperator’
QuotePlugin.cpp:145: error: no matching function for call to ‘QuotePlugin::conne
ct(<type error>, const char [31], QuotePlugin* const, const char [34])’
/usr/include/QtCore/qobject.h:174: note: candidates are: static bool QObject::co
nnect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionTy
pe)
/usr/include/QtCore/qobject.h:274: note: bool QObject::connect(c
onst QObject*, const char*, const char*, Qt::ConnectionType) const
QuotePlugin.cpp:146: error: no matching function for call to ‘QuotePlugin::conne
ct(<type error>, const char [47], QuotePlugin* const, const char [52])’
/usr/include/QtCore/qobject.h:174: note: candidates are: static bool QObject::co
nnect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionTy
pe)
/usr/include/QtCore/qobject.h:274: note: bool QObject::connect(c
onst QObject*, const char*, const char*, Qt::ConnectionType) const
QuotePlugin.cpp: At global scope:
QuotePlugin.cpp:132: warning: unused parameter ‘url’
QuotePlugin.cpp: In member function ‘void QuotePlugin::copyFile(QString&, QStrin
g&)’:
QuotePlugin.cpp:152: error: ‘op’ was not declared in this scope
QuotePlugin.cpp:155: error: type ‘<type error>’ argument given to ‘delete’, expe
cted pointer
QuotePlugin.cpp:158: error: no matching function for call to ‘QTimer::start(int,
bool)’
/usr/include/QtCore/qtimer.h:58: note: candidates are: void QTimer::start(int)
/usr/include/QtCore/qtimer.h:60: note: void QTimer::start()
QuotePlugin.cpp:163: error: ‘op’ was not declared in this scope
QuotePlugin.cpp:163: error: expected type-specifier before ‘QUrlOperator’
QuotePlugin.cpp:163: error: expected `;' before ‘QUrlOperator’
QuotePlugin.cpp:164: error: no matching function for call to ‘QuotePlugin::conne
ct(<type error>, const char [31], QuotePlugin* const, const char [35])’
/usr/include/QtCore/qobject.h:174: note: candidates are: static bool QObject::co
nnect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionTy pe)
/usr/include/QtCore/qobject.h:274: note: bool QObject::connect(c onst QObject*, const char*, const char*, Qt::ConnectionType) const
QuotePlugin.cpp: At global scope:
QuotePlugin.cpp:168: error: variable or field ‘getFileDone’ declared void
QuotePlugin.cpp:168: error: ‘int QuotePlugin::getFileDone’ is not a static membe r of ‘class QuotePlugin’
QuotePlugin.cpp:168: error: ‘QNetworkOperation’ was not declared in this scope
QuotePlugin.cpp:168: error: ‘o’ was not declared in this scope
QuotePlugin.cpp:169: error: expected ‘,’ or ‘;’ before ‘{’ token
QuotePlugin.cpp:187: error: variable or field ‘copyFileDone’ declared void
QuotePlugin.cpp:187: error: ‘int QuotePlugin::copyFileDone’ is not a static memb er of ‘class QuotePlugin’
QuotePlugin.cpp:187: error: ‘QNetworkOperation’ was not declared in this scope
QuotePlugin.cpp:187: error: ‘o’ was not declared in this scope
QuotePlugin.cpp:188: error: expected ‘,’ or ‘;’ before ‘{’ token
QuotePlugin.cpp:212: error: ‘QNetworkOperation’ has not been declared
QuotePlugin.cpp: In member function ‘void QuotePlugin::slotTimeout()’:
QuotePlugin.cpp:222: error: ‘op’ was not declared in this scope
make[1]: *** [QuotePlugin.o] Fehler 1
make[1]: Leaving directory `/opt/qtstalker-0.32/qtstalker/lib'
make: *** [sub-lib-make_default] Fehler 2
linux:/opt/qtstalker-0.32/qtstalker #
linux:/opt/qtstalker-0.32/qtstalker
 
Oben