@UvQtcYZJuD7J5VW7 said in QByteArray to LabVIEW Byte Array conversion:
I need to include Labview extcode.h
Yes, that's right.
and when I include it, I get errors about my compiler (platdefines.h doens't recognize my compiler when I'm in Qt Creator).
Then you just need to address the error.
If you use MSVC, it will work fine out-of-the-box.
If you want to use MinGW, you can modify platdefines.h and add these 2 lines to define your compiler:
...
#elif defined(__GNUC__) // <-- Add this
#define Compiler kGCC // <-- Add this
#else
#error "We don't know the Compiler"
#endif