How to disable qmake addition of -DUNICODE compiler flag
Hi for a project I’m working on in Qt creator I need to be able to dissable the -DUNICODE compiler flag added by qmake and replace it with a flag for MBCS.
I do understand there may be issues with 3rd party libs by disabling unicode however I NEED to do this to use another 3rd party lib.
How would I go about doing this? I have figured out how to add compiler flags with the QMAKE_CXX option but I can’t find anything about disabling the ones that qmake adds?
That helped alot! Exactley what I was looking for.
unfortunatley I can’t specify the string type because it’s output from one 3rd party function whose type is specified by the compiler to a second 3rd party function that only accepts a particular type. I guess I could write a conversion script buy that’s not what I’m looking for…