A Qt GUi

Hi,

I have been working on a GUI made with Qt Creator. Here Google Code Archive - Long-term storage for Google Code Project Hosting. is a link to it if anyone wants to try it.

I have only ran it on Linux. Being Qt, it should be able to run on windows if you can figure out how to get QExtSerialPort to compile, but I don't have the patience for it.

No experience with Qt, but it looks well done, also good to have the instruction vids included (bonuspoints :wink:

Looks nice from what I can see.


Rob

Ohh dude sorry to bother you on many website but I really want to try out your program. it looks rad
Im using Windows, fairly new to QT
and included all this:
INCLUDEPATH += qextserialport/src
INCLUDEPATH += C:\QtSDK\Desktop\Qt\4.7.4\mingw\include
INCLUDEPATH += C:\QtSDK\mingw\include
INCLUDEPATH += C:/Qt/qextserialport-1.2win-alpha/
INCLUDEPATH +=C:\QtSDK\QtSources\4.8.1\include

LIBS += C:\Qt\qextserialport-1.2win-alpha\build\libqextserialportd.a
LIBS +=C:\QtSDK\QtSources\4.8.1\src\corelib\kernel*.h
LIBS +=C:\QtSDK\QtSources\4.8.1\src\corelib\thread*.h
LIBS +=C:\QtSDK\QtSources\4.8.1\src\corelib\thread*.cpp
LIBS +=C:\QtSDK\QtSources\4.8.1\include\QtCore\private*.h

Im getting 1 error:
C:\Qt_Programs\DigTemp\QT Creator\aQtLow\release\moc_qextserialport.cpp:60: error: definition of static data member 'QextSerialPort::staticMetaObjectExtraData' of dllimport'd class
Please let me know if you know how to fix this.

Regards
Varun

Not too sure about that problem. I have only been running on Linux, so I have not had much practice getting qextserialport to compile in windows.

One guy told me changed the win32 section in the .pro file as follows to get it to compile on windows:
win32:{
DEFINES = TTY_WIN

SOURCES += qextserialport/src/win_qextserialport.cpp

DEFINES += WINVER=0x0501 # needed for mingw to pull in appropriate dbt business...probably a better way to do this
LIBS += -lsetupapi
LIBS +=D:\qt\4.7.3\demos\qextserialport\src\build\qextserialport1.dll
}

I found a guide here that looks promising:

Got it to build in XP by going to the newer version of QExtSerialPort 1.2Beta2 and replacing all the references to it in the .pro file with:

Link to QExtSerialPort per their instructions.

This "pri" method became available with version 1.2Beta2

This should be the only mention of qextserailport in this pro file.

include(qextserialport/src/qextserialport.pri)