Steve Gribble d58d7dedaf Fix float parsing bug that manifests on Qt4.6 and later.
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.
2010-01-05 22:56:59 -05:00
2009-10-03 17:57:22 -04:00
2009-09-20 11:13:11 -07:00
2009-09-20 11:13:11 -07:00
2006-09-06 23:59:42 +00:00

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.
Languages
Standard ML 68.3%
C++ 28.1%
C 2.7%
Yacc 0.2%
QMake 0.2%
Other 0.1%