hi quinte17,
ich geb endgueltig auf.
da hab ich im augenblick nicht die nerven dazu....
und qextserialport ist ja nicht zwingend notwendig
habs nochmals probiert ss. unten
falls ich mit qt weitermachen sollte ???
werd ich meine c-low-leve-functionen (rs232) einsetzen.
also:
inhalt meines qextserialport-Projects
Code:
--------------------------------------
qtserial2.pro
main.cpp
main.o
qtserial2.pro.user
myserial.h
posix_qextserialport.h
qextserialbase.h
qestserialport.h
myserial.cpp
posix_qexterialport.cpp
qextserialbase.cpp
qexterialport.cpp
Makefile
----------------------------
-> build clear
-> rebuild
-> build
waehrend: build: 2 things:
- overriding commands for target 'posix_qestserialport.o
- ignoring old commands for target posix_qestserialport.o
dann auf der console ein 'make' fuer die fehlermeldungen: ss. unten
also nichts fuer ungut und vielen dank fuer deine hilfe
gruss nomad
Code:
---------------
make
Makefile:214: warning: overriding commands for target `posix_qextserialport.o'
Makefile:210: warning: ignoring old commands for target `posix_qextserialport.o'
g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include -I. -I. -o myserial.o myserial.cpp
In file included from myserial.h:8,
from myserial.cpp:2:
./qextserialport.h:12:32: error: win_qextserialport.h: No such file or directory
In file included from myserial.h:8,
from myserial.cpp:2:
./qextserialport.h:16: error: expected class-name before ‘{’ token
./qextserialport.h:20: error: expected `)' before ‘const’
./qextserialport.h:21: error: ‘PortSettings’ has not been declared
myserial.cpp: In constructor ‘MySerial::MySerial()’:
myserial.cpp:10: error: ‘class QextSerialPort’ has no member named ‘setBaudRate’
myserial.cpp:10: error: ‘BAUD9600’ was not declared in this scope
myserial.cpp:11: error: ‘class QextSerialPort’ has no member named ‘setDataBits’
myserial.cpp:11: error: ‘DATA_8’ was not declared in this scope
myserial.cpp:12: error: ‘class QextSerialPort’ has no member named ‘setStopBits’
myserial.cpp:12: error: ‘STOP_1’ was not declared in this scope
myserial.cpp:13: error: ‘class QextSerialPort’ has no member named ‘setParity’
myserial.cpp:13: error: ‘PAR_NONE’ was not declared in this scope
myserial.cpp:14: error: ‘class QextSerialPort’ has no member named ‘setFlowControl’
myserial.cpp:14: error: ‘FLOW_OFF’ was not declared in this scope
myserial.cpp:15: error: ‘class QextSerialPort’ has no member named ‘setTimeout’
myserial.cpp: In destructor ‘virtual MySerial::~MySerial()’:
myserial.cpp:22: error: ‘class QextSerialPort’ has no member named ‘close’
myserial.cpp: In member function ‘virtual void MySerial::run()’:
myserial.cpp:34: error: ‘class QextSerialPort’ has no member named ‘open’
myserial.cpp:39: error: ‘class QextSerialPort’ has no member named ‘flush’
myserial.cpp: In member function ‘void MySerial::pollSerial()’:
myserial.cpp:56: error: ‘class QextSerialPort’ has no member named ‘isReadable’
myserial.cpp:60: error: ‘class QextSerialPort’ has no member named ‘bytesAvailable’
myserial.cpp:63: error: ‘class QextSerialPort’ has no member named ‘read’
make: *** [myserial.o] Error 1
linux-753o:~/Desktop/mrunixQT_serialSource/qtserialtest/qtserial2 #
--------------------------------
Lesezeichen