Results 1 to 6 of 6

Thread: Help with serial Problem

  1. #1
    Join Date
    Mar 2011
    Posts
    6
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Help with serial Problem

    Dear all,
    I'm trying to run an example for understand the code for read/write on serial port.

    the problem is all example I try give me this problem

    C1083: Cannot open include file: 'QtCore/private/qwineventnotifier_p.h': No such file or directory

    The last example I try is http://gitorious.org/qserialdevice/q...tarball/master

    Somebody have the possibility to help me please ?

    thanks in advance

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,710
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Help with serial Problem

    Try QextSerialPort - works for me.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Jan 2009
    Location
    Russia
    Posts
    309
    Thanks
    2
    Thanked 43 Times in 42 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Help with serial Problem

    Install Qt SDK (http://qt.nokia.com/downloads/sdk-windows-cpp).
    After you install in your path (example):
    c:\Qt\2010.05\qt\include\QtCore\private\
    there will be a file: qwineventnotifier_p.h

    If for some reason it's not there - then take him (and other files for dependencies) from source Qt4.

  4. #4
    Join Date
    Mar 2011
    Posts
    6
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: Help with serial Problem

    thanks a lot I give you a feedback very soon

  5. #5
    Join Date
    Mar 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Help with serial Problem

    This is due to the way things are done in the newer versions of Qt. See this
    http://code.google.com/p/qextserialp...s/detail?id=91

    Would be nice if QSerialDevice would be updated to be compatible with this change, as just bringing out the qwineventnotifier_p.h doesnt quite work right.

  6. #6
    Join Date
    Jan 2009
    Location
    Russia
    Posts
    309
    Thanks
    2
    Thanked 43 Times in 42 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Help with serial Problem

    2 radix07 ,

    Then what you ask (update the library) - is impossible.
    New QtSDK does not contain header file "qwineventnotifier_p.h".
    It should probably update QtSDK - write a Nokia.

    Solutions two:

    1. Get "qwineventnotifier_p.h" from Qt4 source and copy it to QtSDK.
    For example, as written here:
    http://code.google.com/p/qextserialp...tail?id=105#c0

    2. Manually build Qt4 from source. Then no problem.

    To date, the development of master branch is frozen.
    All forces are left to branch 2.0. For it is planned to guide the assembly in which to add nuance to the problem QtSDK.

Similar Threads

  1. qext-serial-port write problem.
    By rex in forum Qt Programming
    Replies: 11
    Last Post: 9th December 2013, 07:18
  2. Serial
    By martxyz in forum Newbie
    Replies: 4
    Last Post: 16th November 2011, 22:40
  3. Serial Port Reading problem
    By sfabel in forum Qt Programming
    Replies: 12
    Last Post: 18th February 2010, 14:59
  4. USB / Serial
    By Vnuce in forum Qt Programming
    Replies: 2
    Last Post: 30th October 2009, 07:21
  5. serial communication problem
    By Tavit in forum Qt Programming
    Replies: 3
    Last Post: 31st May 2008, 12:56

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.