引用第5楼jam4466于2008-04-10 16:19发表的 :
我在LINUX中运行总是有错??请帮我
此程序只能在Windows下运行,想在Linux下运行,请修改qextserialport.h中如下代码:
#ifndef _QEXTSERIALPORT_H_
#define _QEXTSERIALPORT_H_
/*POSIX CODE*/
#ifdef _TTY_POSIX_
#include "win_qextserialport.h"
//#include "posix_qextserialport.h"
#define QextBaseType Posix_QextSerialPort
/*MS WINDOWS CODE*/
#else
#include "win_qextserialport.h"
#define QextBaseType Win_QextSerialPort
#endif