ViniciusDamiati / qextserialport

Automatically exported from code.google.com/p/qextserialport
Other
0 stars 0 forks source link

Qextserialport installaiton in linux #170

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I dont understand how to install  qextserialport_1_2beta1
This is my pro file 
QT       += core gui
QT      +=serialport
CONFIG += extserialport
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = baud
TEMPLATE = app
SOURCES += main.cpp\
        mainwindow.cpp

HEADERS  += mainwindow.h
HEADERS  +=Downloads/qextserialport-1.2beta1/
FORMS    += mainwindow.ui
include(Downloads/qextserialport-1.2beta1/src/qextserialport.pri)

Error generted :
1)Downloads/qextserialport-1.2beta1/src/moc_qextserialport.cpp:14: error: 
#error "This file was generated using the moc from 4.7.4. It"
2)Downloads/qextserialport-1.2beta1/src/moc_qextserialport.cpp:15: error: 
#error "cannot be used with the include files from this version of Qt."
3)Downloads/qextserialport-1.2beta1/src/moc_qextserialport.cpp:16: error: 
#error "(The moc has changed too much.)"
4)Downloads/qextserialport-1.2beta1/src/moc_qextserialport.cpp:81: error: 
cannot convert 'const char*' to 'const QByteArrayData* {aka const QArrayData*}' 
in initialization
5)Downloads/qextserialport-1.2beta1/src/moc_qextserialport.cpp:89: error: 
conditional expression between distinct pointer types 'QDynamicMetaObjectData*' 
and 'const QMetaObject*' lacks a cast

How to solve this problem

Original issue reported on code.google.com by sushantb...@gmail.com on 20 Jul 2013 at 4:51

GoogleCodeExporter commented 9 years ago
install qextserialport-1-2rc

Original comment by sushantb...@gmail.com on 20 Jul 2013 at 5:22

GoogleCodeExporter commented 9 years ago

Original comment by dbzhang...@gmail.com on 9 May 2014 at 8:18

GoogleCodeExporter commented 9 years ago
HEADERS 
+=/home/sushant/Documents/Qt_Programming/Qt_ThirdParty/qextserialport-1.2rc
include(/home/sushant/Documents/Qt_Programming/Qt_ThirdParty/qextserialport-1.2r
c/src/qextserialport.pri)

Original comment by sushantb...@gmail.com on 9 May 2014 at 8:42