Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Not Evaluated
-
Resolution: Done
-
Affects Version/s: 4.8.5
-
Fix Version/s: 5.3.0
-
Component/s: Serial Port
-
Labels:None
-
Environment:Mac OS X 10.9
-
Commits:4a634dde17361f41b83c92f562714daf8aa51249
Description
If you link with a framework via "LIBS += -framework test" and add "CONFIG += serialport" to your project file the "-framework" is removed from the resulting LIBS variable, causing the build to fail.
The problem is the following line in serialport.prf: "LIBS -= -framework QtSerialPort$${QT_LIBINFIX}" which removes all occurrences of -framework from the list.
I have added a patch, which fixes the problem.
If you think this solution is feasible I can push it to gerrit.