Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-32008

QtSerialPort for WinCE missing variable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 5.0.0
    • Serial Port
    • None
    • msvc2008

    Description

      hi, thanks for efforts within this project.
      i tried to compile for WinCE with Qt4.8.4 / msvc2008 / StandardSDK_500(ARM4i)
      there was problems when compiling "src" that i've fixed manually by making some changes. i don't know am i was true or not
      1- in "serialport-lib.pri" "line 26: !wince*: ..." it seems qmake can't recognize this definition and continues with linking "LIBS += -lsetupapi -ladvapi32"
      2- in "serialportinfo_wince.cpp" "line 402: WaitCommEventBreaker breaker(descriptor, qMax(msecs, 0)); ::WaitCommEvent(descriptor, &eventMask, NULL);"
      there was errors with "eventMask" as well as 2 others like this one. i added "DWORD eventMask = 0;" and compile performed successfully.
      not tested the lib itself, this report is just related to compile time. i'd like to contribute if i find more problems when testing with WinCE.
      just plz tell me if those changes wont lead to problems when using the library on WinCE.

      Thanks,
      Happy new year!

      Attachments

        For Gerrit Dashboard: QTBUG-32008
        # Subject Branch Project Status CR V

        Activity

          People

            lpapp Laszlo Papp
            mohsen Mohsen Akhlaghi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes