mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
d58d7dedaf331ff59d76bc235d34683f5585c12e
This file relies on Qt's QDataStream to handle the parsing of primitive C types from Computrainer .3dp files, including floats. In Qt4.5 and earlier, Qt defaulted to 32 bit floats. In Qt4.6 and later, Qt started using 64 bit floats by default. As a side-effect, parsing broke on Qt4.6, leading to a crash when importing or using .3dp files. This patch fixes the issue by using QDataStream's "setVersion()" method to tell Qt to use the Qt4.0 serialization format for the QDataStream used in this file. This patch does not affect any other files. This patch should make the formatting assumptions both backwards and forwards compatible.
To build cp src/gcconfig.pri.in src/gcconfig.pri cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri Edit both src/gcconfig.pri and qwt/qwtconfig.pri as necessary, then qmake make To uninstall the older FTDI VCP drivers on Mac OS X, open a Terminal and type: sudo mv /System/Library/Extensions/FTDIUSBSerialDriver.kext /tmp Type your password when prompted, then restart your computer.
Description
Languages
Standard ML
68.3%
C++
28.1%
C
2.7%
Yacc
0.2%
QMake
0.2%
Other
0.1%