Add /EHa to QtCreator that used Microsoft Visual C++ Compiler



  • Hi Fox
    How can i add /EHa (Structed Exception Handling)in QtCreator for MS Compiler.
    I've been used Microsoft Visual C++ Compiler.
    Regard's



  • Hi, ~Proffesional!

    Qt Creator has powerful build system which allow to add and change build steps. You should change it in a what way you want.

    I believe it will help you.



  • [quote author="tucnak" date="1341150040"]Hi, ~Proffesional!

    Qt Creator has powerful build system which allow to add and change build steps. You should change it in a what way you want.

    I believe it will help you.[/quote]
    What kind of an answer is that?

    This flag cannot be added with QMAKE_CXXFLAGS += /EHa. One can only set it this way:

    @win* {
    QMAKE_CXXFLAGS_EXCEPTIONS_ON = /EHa
    QMAKE_CXXFLAGS_STL_ON = /EHa
    }@


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.