How do I compile my Qt Application for different systems?
I’ve been using QExtSerialPort, and for some reason when I run and compile where I wrote the code (64 bit machine), it writes signals to the Arduino board. When I take the executable and its dependencies to another system, the signals are then not written to the Arduino board.
I suspect it may be because the app is compiled in a 64 bit machine and not in a 32 bit machine. Has this occured to any one of you guys?
Also, how do I compile it for a 32 bit computer?
Thank you in advance.
I apologize. The OS is Windows, I am using the Qt Creator and it’s using the Microsoft Visual C++ Compiler 10.0. Let me know if you require any further information.
I wrote a bit more information about bringing up the error here: http://stackoverflow.com/questions/10723815/qt-qextserialport-unable-to-write-when-a-different-environment-is-used
AFAIK are the compilations using msvc compiler per default for 32 bit regardless of the operation system you are building on.
What makes you believe that you compile as 64 bit?
However, if I interpret your post correctly, you are able to start the application on 32 bit anyhow. So, it should be a 32 bit application then.
You rule out a driver problem because you can use with C#.
However, could it be a different driver?
There is another option for using serial devices [qt-project.org] with Qt.