chapai@chapai-laptop:~/QextSerialPort/qextserialport1$ qmake
chapai@chapai-laptop:~/QextSerialPort/qextserialport1$ make
make -f Makefile.Release
make[1]: Âõîä â êàòàëîã `/home/chapai/QextSerialPort/qextserialport1'
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -fPIC -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Ibuild/moc -o build/obj/qextserialbase.o qextserialbase.cpp
In file included from qextserialbase.cpp:1:
qextserialbase.h:4:21: error: QIODevice: Íåò òàêîãî ôàéëà èëè êàòàëîãà
qextserialbase.h:5:17: error: QFile: Íåò òàêîãî ôàéëà èëè êàòàëîãà
qextserialbase.h:6:19: error: QThread: Íåò òàêîãî ôàéëà èëè êàòàëîãà
qextserialbase.h:7:18: error: QMutex: Íåò òàêîãî ôàéëà èëè êàòàëîãà
In file included from qextserialbase.cpp:1:
qextserialbase.h:149: error: expected class-name before ‘{’ token
qextserialbase.h:150: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
qextserialbase.h:152: error: expected ‘;’ before ‘public’
qextserialbase.h:159: error: ISO C++ forbids declaration of ‘QMutex’ with no type
qextserialbase.h:159: error: expected ‘;’ before ‘*’ token
qextserialbase.h:160: error: ‘QString’ does not name a type
qextserialbase.h:162: error: ‘ulong’ does not name a type
qextserialbase.h:163: error: ‘QueryMode’ in class ‘QextSerialBase’ does not name a type
qextserialbase.h:165: error: ‘qint64’ does not name a type
qextserialbase.h:166: error: ‘qint64’ does not name a type
qextserialbase.h:170: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.h:170: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.h:173: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.h:173: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.h:174: error: ‘QString’ does not name a type
qextserialbase.h:180: error: ‘QueryMode’ in class ‘QextSerialBase’ does not name a type
qextserialbase.h:204: error: ‘QueryMode’ has not been declared
qextserialbase.h:220: error: ‘OpenMode’ has not been declared
qextserialbase.h:225: error: ‘qint64’ does not name a type
qextserialbase.h:226: error: ‘qint64’ does not name a type
qextserialbase.h:230: error: ‘qint64’ does not name a type
qextserialbase.h:232: error: ‘ulong’ does not name a type
qextserialbase.h:233: error: ‘ulong’ has not been declared
qextserialbase.h:237: error: ‘ulong’ does not name a type
qextserialbase.h:255: error: expected primary-expression before ‘void’
qextserialbase.h:255: error: ISO C++ forbids declaration of ‘signals’ with no type
qextserialbase.h:255: error: expected ‘;’ before ‘void’
qextserialbase.cpp: In constructor ‘QextSerialBase::QextSerialBase()’:
qextserialbase.cpp:8: error: class ‘QextSerialBase’ does not have any field named ‘QIODevice’
qextserialbase.cpp:30: error: invalid conversion from ‘const char*’ to ‘int’
qextserialbase.cpp:30: error: initializing argument 1 of ‘virtual void QextSerialBase::setPortName(int)’
qextserialbase.cpp: At global scope:
qextserialbase.cpp:40: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.cpp:40: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.cpp: In constructor ‘QextSerialBase::QextSerialBase(int)’:
qextserialbase.cpp:41: error: class ‘QextSerialBase’ does not have any field named ‘QIODevice’
qextserialbase.cpp:43: error: ‘name’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:40: warning: unused parameter ‘QString’
qextserialbase.cpp: In destructor ‘virtual QextSerialBase::~QextSerialBase()’:
qextserialbase.cpp:53: error: ‘mutex’ was not declared in this scope
qextserialbase.cpp: In member function ‘virtual void QextSerialBase::construct()’:
qextserialbase.cpp:69: error: ‘mutex’ was not declared in this scope
qextserialbase.cpp:69: error: expected type-specifier before ‘QMutex’
qextserialbase.cpp:69: error: expected ‘;’ before ‘QMutex’
qextserialbase.cpp:70: error: ‘QIODevice’ has not been declared
qextserialbase.cpp:70: error: ‘setOpenMode’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:73: error: variable or field ‘setQueryMode’ declared void
qextserialbase.cpp:73: error: ‘QueryMode’ was not declared in this scope
qextserialbase.cpp:82: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.cpp:82: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.cpp: In member function ‘virtual void QextSerialBase::setPortName(int)’:
qextserialbase.cpp:84: error: ‘port’ was not declared in this scope
qextserialbase.cpp:84: error: ‘name’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:82: warning: unused parameter ‘QString’
qextserialbase.cpp:91: error: ‘QString’ does not name a type
qextserialbase.cpp: In member function ‘virtual bool QextSerialBase::atEnd() const’:
qextserialbase.cpp:164: error: ‘size’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:176: error: ‘qint64’ does not name a type
qextserialbase.cpp:223: error: ‘ulong’ does not name a type
make[1]: *** [build/obj/qextserialbase.o] Îøèáêà 1
make[1]: Âûõîä èç êàòàëîãà `/home/chapai/QextSerialPort/qextserialport1'
make: *** [release] Îøèáêà 2
chapai@chapai-laptop:~/QextSerialPort/qextserialport1$ qmake
chapai@chapai-laptop:~/QextSerialPort/qextserialport1$ make install
make -f Makefile.Release install
make[1]: Âõîä â êàòàëîã `/home/chapai/QextSerialPort/qextserialport1'
make[1]: Öåëü `install' íå òðåáóåò âûïîëíåíèÿ êîìàíä.
make[1]: Âûõîä èç êàòàëîãà `/home/chapai/QextSerialPort/qextserialport1'
chapai@chapai-laptop:~/QextSerialPort/qextserialport1$ make
make -f Makefile.Release
make[1]: Âõîä â êàòàëîã `/home/chapai/QextSerialPort/qextserialport1'
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -fPIC -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Ibuild/moc -o build/obj/qextserialbase.o qextserialbase.cpp
In file included from qextserialbase.cpp:1:
qextserialbase.h:4:21: error: QIODevice: Íåò òàêîãî ôàéëà èëè êàòàëîãà
qextserialbase.h:5:17: error: QFile: Íåò òàêîãî ôàéëà èëè êàòàëîãà
qextserialbase.h:6:19: error: QThread: Íåò òàêîãî ôàéëà èëè êàòàëîãà
qextserialbase.h:7:18: error: QMutex: Íåò òàêîãî ôàéëà èëè êàòàëîãà
In file included from qextserialbase.cpp:1:
qextserialbase.h:149: error: expected class-name before ‘{’ token
qextserialbase.h:150: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
qextserialbase.h:152: error: expected ‘;’ before ‘public’
qextserialbase.h:159: error: ISO C++ forbids declaration of ‘QMutex’ with no type
qextserialbase.h:159: error: expected ‘;’ before ‘*’ token
qextserialbase.h:160: error: ‘QString’ does not name a type
qextserialbase.h:162: error: ‘ulong’ does not name a type
qextserialbase.h:163: error: ‘QueryMode’ in class ‘QextSerialBase’ does not name a type
qextserialbase.h:165: error: ‘qint64’ does not name a type
qextserialbase.h:166: error: ‘qint64’ does not name a type
qextserialbase.h:170: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.h:170: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.h:173: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.h:173: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.h:174: error: ‘QString’ does not name a type
qextserialbase.h:180: error: ‘QueryMode’ in class ‘QextSerialBase’ does not name a type
qextserialbase.h:204: error: ‘QueryMode’ has not been declared
qextserialbase.h:220: error: ‘OpenMode’ has not been declared
qextserialbase.h:225: error: ‘qint64’ does not name a type
qextserialbase.h:226: error: ‘qint64’ does not name a type
qextserialbase.h:230: error: ‘qint64’ does not name a type
qextserialbase.h:232: error: ‘ulong’ does not name a type
qextserialbase.h:233: error: ‘ulong’ has not been declared
qextserialbase.h:237: error: ‘ulong’ does not name a type
qextserialbase.h:255: error: expected primary-expression before ‘void’
qextserialbase.h:255: error: ISO C++ forbids declaration of ‘signals’ with no type
qextserialbase.h:255: error: expected ‘;’ before ‘void’
qextserialbase.cpp: In constructor ‘QextSerialBase::QextSerialBase()’:
qextserialbase.cpp:8: error: class ‘QextSerialBase’ does not have any field named ‘QIODevice’
qextserialbase.cpp:30: error: invalid conversion from ‘const char*’ to ‘int’
qextserialbase.cpp:30: error: initializing argument 1 of ‘virtual void QextSerialBase::setPortName(int)’
qextserialbase.cpp: At global scope:
qextserialbase.cpp:40: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.cpp:40: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.cpp: In constructor ‘QextSerialBase::QextSerialBase(int)’:
qextserialbase.cpp:41: error: class ‘QextSerialBase’ does not have any field named ‘QIODevice’
qextserialbase.cpp:43: error: ‘name’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:40: warning: unused parameter ‘QString’
qextserialbase.cpp: In destructor ‘virtual QextSerialBase::~QextSerialBase()’:
qextserialbase.cpp:53: error: ‘mutex’ was not declared in this scope
qextserialbase.cpp: In member function ‘virtual void QextSerialBase::construct()’:
qextserialbase.cpp:69: error: ‘mutex’ was not declared in this scope
qextserialbase.cpp:69: error: expected type-specifier before ‘QMutex’
qextserialbase.cpp:69: error: expected ‘;’ before ‘QMutex’
qextserialbase.cpp:70: error: ‘QIODevice’ has not been declared
qextserialbase.cpp:70: error: ‘setOpenMode’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:73: error: variable or field ‘setQueryMode’ declared void
qextserialbase.cpp:73: error: ‘QueryMode’ was not declared in this scope
qextserialbase.cpp:82: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.cpp:82: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.cpp: In member function ‘virtual void QextSerialBase::setPortName(int)’:
qextserialbase.cpp:84: error: ‘port’ was not declared in this scope
qextserialbase.cpp:84: error: ‘name’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:82: warning: unused parameter ‘QString’
qextserialbase.cpp:91: error: ‘QString’ does not name a type
qextserialbase.cpp: In member function ‘virtual bool QextSerialBase::atEnd() const’:
qextserialbase.cpp:164: error: ‘size’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:176: error: ‘qint64’ does not name a type
qextserialbase.cpp:223: error: ‘ulong’ does not name a type
make[1]: *** [build/obj/qextserialbase.o] Îøèáêà 1
make[1]: Âûõîä èç êàòàëîãà `/home/chapai/QextSerialPort/qextserialport1'
make: *** [release] Îøèáêà 2
chapai@chapai-laptop:~/QextSerialPort/qextserialport1$ qmake
chapai@chapai-laptop:~/QextSerialPort/qextserialport1$ make
make -f Makefile.Release
make[1]: Âõîä â êàòàëîã `/home/chapai/QextSerialPort/qextserialport1'
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -fPIC -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Ibuild/moc -o build/obj/qextserialbase.o qextserialbase.cpp
In file included from qextserialbase.cpp:1:
qextserialbase.h:4:21: error: QIODevice: Íåò òàêîãî ôàéëà èëè êàòàëîãà
qextserialbase.h:5:17: error: QFile: Íåò òàêîãî ôàéëà èëè êàòàëîãà
qextserialbase.h:6:19: error: QThread: Íåò òàêîãî ôàéëà èëè êàòàëîãà
qextserialbase.h:7:18: error: QMutex: Íåò òàêîãî ôàéëà èëè êàòàëîãà
In file included from qextserialbase.cpp:1:
qextserialbase.h:149: error: expected class-name before ‘{’ token
qextserialbase.h:150: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
qextserialbase.h:152: error: expected ‘;’ before ‘public’
qextserialbase.h:159: error: ISO C++ forbids declaration of ‘QMutex’ with no type
qextserialbase.h:159: error: expected ‘;’ before ‘*’ token
qextserialbase.h:160: error: ‘QString’ does not name a type
qextserialbase.h:162: error: ‘ulong’ does not name a type
qextserialbase.h:163: error: ‘QueryMode’ in class ‘QextSerialBase’ does not name a type
qextserialbase.h:165: error: ‘qint64’ does not name a type
qextserialbase.h:166: error: ‘qint64’ does not name a type
qextserialbase.h:170: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.h:170: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.h:173: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.h:173: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.h:174: error: ‘QString’ does not name a type
qextserialbase.h:180: error: ‘QueryMode’ in class ‘QextSerialBase’ does not name a type
qextserialbase.h:204: error: ‘QueryMode’ has not been declared
qextserialbase.h:220: error: ‘OpenMode’ has not been declared
qextserialbase.h:225: error: ‘qint64’ does not name a type
qextserialbase.h:226: error: ‘qint64’ does not name a type
qextserialbase.h:230: error: ‘qint64’ does not name a type
qextserialbase.h:232: error: ‘ulong’ does not name a type
qextserialbase.h:233: error: ‘ulong’ has not been declared
qextserialbase.h:237: error: ‘ulong’ does not name a type
qextserialbase.h:255: error: expected primary-expression before ‘void’
qextserialbase.h:255: error: ISO C++ forbids declaration of ‘signals’ with no type
qextserialbase.h:255: error: expected ‘;’ before ‘void’
qextserialbase.cpp: In constructor ‘QextSerialBase::QextSerialBase()’:
qextserialbase.cpp:8: error: class ‘QextSerialBase’ does not have any field named ‘QIODevice’
qextserialbase.cpp:30: error: invalid conversion from ‘const char*’ to ‘int’
qextserialbase.cpp:30: error: initializing argument 1 of ‘virtual void QextSerialBase::setPortName(int)’
qextserialbase.cpp: At global scope:
qextserialbase.cpp:40: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.cpp:40: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.cpp: In constructor ‘QextSerialBase::QextSerialBase(int)’:
qextserialbase.cpp:41: error: class ‘QextSerialBase’ does not have any field named ‘QIODevice’
qextserialbase.cpp:43: error: ‘name’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:40: warning: unused parameter ‘QString’
qextserialbase.cpp: In destructor ‘virtual QextSerialBase::~QextSerialBase()’:
qextserialbase.cpp:53: error: ‘mutex’ was not declared in this scope
qextserialbase.cpp: In member function ‘virtual void QextSerialBase::construct()’:
qextserialbase.cpp:69: error: ‘mutex’ was not declared in this scope
qextserialbase.cpp:69: error: expected type-specifier before ‘QMutex’
qextserialbase.cpp:69: error: expected ‘;’ before ‘QMutex’
qextserialbase.cpp:70: error: ‘QIODevice’ has not been declared
qextserialbase.cpp:70: error: ‘setOpenMode’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:73: error: variable or field ‘setQueryMode’ declared void
qextserialbase.cpp:73: error: ‘QueryMode’ was not declared in this scope
qextserialbase.cpp:82: error: ISO C++ forbids declaration of ‘QString’ with no type
qextserialbase.cpp:82: error: expected ‘,’ or ‘...’ before ‘&’ token
qextserialbase.cpp: In member function ‘virtual void QextSerialBase::setPortName(int)’:
qextserialbase.cpp:84: error: ‘port’ was not declared in this scope
qextserialbase.cpp:84: error: ‘name’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:82: warning: unused parameter ‘QString’
qextserialbase.cpp:91: error: ‘QString’ does not name a type
qextserialbase.cpp: In member function ‘virtual bool QextSerialBase::atEnd() const’:
qextserialbase.cpp:164: error: ‘size’ was not declared in this scope
qextserialbase.cpp: At global scope:
qextserialbase.cpp:176: error: ‘qint64’ does not name a type
qextserialbase.cpp:223: error: ‘ulong’ does not name a type
make[1]: *** [build/obj/qextserialbase.o] Îøèáêà 1
make[1]: Âûõîä èç êàòàëîãà `/home/chapai/QextSerialPort/qextserialport1'
make: *** [release] Îøèáêà 2