[argyllcms] Erratic Behavior Using Qt

  • From: שחר קלינגר <sklinger@xxxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Mon, 19 Nov 2012 20:32:15 +0200

Hello everyone,

I'm using Qt to call "spotread" using a QProcess object 
(http://doc.qt.digia.com/qt/qprocess.html), read a patch and get the results on 
STDOUT. The instrument is an i1Pro2. Operating system is Windows 7. Environment 
variable "ARGYLL_NOT_INTERACTIVE" is set.
My problem is the instrument or application's behavior is very erratic - 
sometimes it fails to call the program, sometimes fails on waiting for STDOUT 
(what's known as "wait for ready read"), and other times succeeds in getting a 
reading.

I've tinkered with the code literally for days, but couldn't get it to perform 
better, or understand what's the problem. I built and ran it under Ubuntu Linux 
in a VirtualBox machine, and on Mac OS X 10.6, but results are the same.
The strange thing is that this exact same program worked perfectly well in the 
past with an i1Pro1.

Any suggestions...?

Thanks for your help,
S. Klinger

Other related posts: