December 18, 2011

wimschuiteman wimschuiteman
Lab Rat
23 posts

qextserialport.pro doesn’t build

 

Hello everybody

I’a a student from a high school in the Netherlands.
It is the first time I work with Qt creator.
Now I want make a serial communicate with a microcontroller.
I have found the qexserialport library.
But if I build qexserialport.pro than I get a popup screen with the message “Could not find the executable, please specify one.”.
now my question is where can i find this executable?

Best regards,
Wim Schuiteman

sorry for my bad english.

 Signature 

Regards,
Wim

4 replies

December 18, 2011

kuzulis kuzulis
Hobby Entomologist
141 posts

Instead of QextSerialPort try use QSerialDevice 2.0 [gitorious.org].
Reason see this [developer.qt.nokia.com] .

December 18, 2011

wimschuiteman wimschuiteman
Lab Rat
23 posts

Thank you for your reply.
I work a few weeks with Qt.
So I do not know how to use QSerialDevice 2.0.
Should I build serialport.pro, or maybe something else.

Best regards,
Wim Schuiteman

 Signature 

Regards,
Wim

December 19, 2011

kuzulis kuzulis
Hobby Entomologist
141 posts

If you want to get a shared library, then use the serialport.pro (and if it does not work – then src.pro).

But I recommend you to connect directly the library classes to your project.
How to do it – look at /examples or /tests.

December 19, 2011

kuzulis kuzulis
Hobby Entomologist
141 posts

And if you’re using OS Windows and QtSDK, then you have an build error qwineventnotifier_p.h.

The solution below:


It private file is located in the source code Qt4:
qt-everywhere-opensource-src-4.7.4/src/corelib/kernel/qwineventnotifier_p.h

But since is a private class, then it does not include in the Qt SDK.

Therefore, in two ways:
1. Or build Qt4 from source and use.
2. Or take this header file from the Qt4 source and copy it to the Qt SDK, example to:
C/QtSDK/Desktop/Qt/4.7.4/msvc2008/include/QtCore/private/qwineventnotifier_p.h

Where instead 4.7.4. may be your current version (eg 4.8.0),
and instead msvc2008 may be mingw.

 
  ‹‹ wrong data from qextserialport      QWT example debug for Zoomer functionality ››

You must log in to post a reply. Not a member yet? Register here!