qt编程问题有四个问题向大佬求救
C\Users\1\Desktop\PDautomotive1\com_data.cpp:288: error: invalid initialization of non-const reference of type 'QByteArray&' from an rvalue of type 'QByteArray'
QByteArray &b=bit_32_2_byteArray(TIR);
^
C:\Users\1\Desktop\PDautomotive1\com_data.cpp:309: error: invalid initialization of non-const reference of type 'QByteArray&' from an rvalue of type 'QByteArray'
QByteArray &d=bit_64_2_byteArray(data_bit);
^
C:\Users\1\Desktop\PDautomotive1\comrecv_class.h:5: error: expected primary-expression before 'unsigned'
#define UInt32 unsigned int
^
C:\Users\1\Desktop\PDautomotive1\comrecv_class.h:5: error: expected ')' before 'unsigned'
#define UInt32 unsigned int
^
jeck猫