Results 1 to 18 of 18

Thread: Windows programming in Qt (serial communication)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2008
    Posts
    155
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Windows programming in Qt (serial communication)

    I found the problem.

    After changing
    unixEFINES = _TTY_POSIX_
    win32EFINES = _TTY_WIN_ QWT_DLL QT_DLL
    to
    unixEFINES = _TTY_POSIX_
    win32EFINES = _TTY_WIN_
    it worked.

    BN
    MacOSX user dabbling with Linux and Windows.

  2. #2
    Join Date
    Jan 2008
    Posts
    155
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Windows programming in Qt (serial communication)

    Having looked through the latest version of QextSerialPort-1.2, it seems a very important feature, the QextSerialEnumerator, is not implemented for POSIX systems.

    Is this not done because of any thecnical difficulties?

    Or just lack of interest or time?

    I would like to ecourage anybody with the required skill to do this, since without it this class may be a bit difficult to use.

    BN
    Last edited by bnilsson; 3rd July 2008 at 21:39.
    MacOSX user dabbling with Linux and Windows.

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Windows programming in Qt (serial communication)

    I'm gathering time and motivation to take the ext serial port code and continue its development as it seems the original maintainer is not interested in it. Enumerating ports in POSIX systems is harder as there is no single way of determining what is and what is not a serial port. Even if you do it on one system (like Linux) it can be completely different on another (like Solaris).

  4. #4
    Join Date
    Apr 2009
    Posts
    58
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Windows programming in Qt (serial communication)

    thanks for doing that i think the repository on google projects is getting updated for other platforms like MAC OS X, the serial port lib on sourceforge compiles successfully, but I am facing problems in compiling the QESPTA example from the QT Creator, gives the following compiler output:
    make: *** No rule to make target `\usr\local\Qt4.6\mkspecs\macx-g++\qmake.conf', needed by `Makefile'. Stop.
    Qt Code:
    1. Running build steps for project QESPTA...
    2. Starting: /usr/bin/qmake /Users/admin/Desktop/QT/qextserialport/examples/qespta/QESPTA.pro -spec macx-g++ -r CONFIG+=debug_and_release -win32
    3. Exited with code 0.
    4. Starting: /usr/bin/make debug -w
    5. make: *** No rule to make target `\usr\local\Qt4.6\mkspecs\macx-g++\qmake.conf', needed by `Makefile'. Stop.
    6. make: Entering directory `/Users/admin/Desktop/QT/qextserialport/examples/qespta'
    7. make: Leaving directory `/Users/admin/Desktop/QT/qextserialport/examples/qespta'
    8. Exited with code 2.
    9. Error while building project QESPTA
    10. When executing build step 'Make'
    To copy to clipboard, switch view to plain text mode 
    Last edited by anupamgee; 9th February 2010 at 18:19. Reason: wrong use of CODE tag

Similar Threads

  1. Windows not appearing in XP.
    By beardybloke in forum Qt Programming
    Replies: 7
    Last Post: 24th October 2007, 17:32
  2. converting unix exe to windows binary
    By deekayt in forum General Programming
    Replies: 2
    Last Post: 17th September 2006, 01:00
  3. Experience using KDevelop with Cygwin under windows
    By high_flyer in forum General Discussion
    Replies: 4
    Last Post: 11th September 2006, 16:50
  4. Programming in Windows
    By kroenecker in forum General Programming
    Replies: 9
    Last Post: 4th July 2006, 18:49
  5. MDI windows without QWorkspace
    By Big Duck in forum Newbie
    Replies: 2
    Last Post: 16th June 2006, 17:15

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
  •  
Qt is a trademark of The Qt Company.