How to deploy my application using Qt-Creator?

前端 未结 5 666
一个人的身影
一个人的身影 2021-02-01 21:57

I\'m trying to deploy my simple Qt project like a hello world.

I build it successfully and can also execute it on Qt-Creator. However, I can\'t execute the binary direc

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-01 22:21

    You may also use static linking, just add this line into the .pro file:

    QMAKE_LFLAGS += -static-libgcc

    I found the solution here and successfully tested on WinXP with QT creator 2.2.0

提交回复
热议问题