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.



  • Instead of QextSerialPort try use "QSerialDevice 2.0":https://gitorious.org/qserialdevice/qserialdevice/trees/2.0.
    Reason see "this":http://developer.qt.nokia.com/forums/viewthread/11634/ .



  • 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



  • 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.



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

    The solution below:
    [quote]
    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
      [/quote]

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


Log in to reply