Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
5.0.0
-
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 |
54296,3 | Fix of errors of compilation on WinCE platform | stable | qt/qtserialport | Status: MERGED | +2 | 0 |
54332,4 | Workaround for fix sending of data for WinCE platform | stable | qt/qtserialport | Status: MERGED | +2 | 0 |