rhb327
25th April 2015, 21:57
I have a small application I've been developing in windows in development/debug mode using a MinGW 4.9.1. 32 bit compiler for Qt version 5.4.0. It compiles and runs as expected with debug flag on or off.
I'm interested in creating a standalone exe for windows. Thus, I followed the procedure using the windows-build-qt-static.ps1 PowerShell script without too much issue and I've got a static linked image of Qt 5.4.1 installed in C:\Qt\Static\5.4.1\. The script seems to download qt-everywhere-opensource-src-5.4.1.7z and start the build process.
Under tools I've added the C:\Qt\Static\5.4.1\bin\qmake.exe for Qt 5.4.1 Static and then created a kit. It used the same compiler (MinGW 4.9.1. 32 bit).
Now when I build using the new kit I get 100s of the same error...they are all similar to:
qstring.cpp:-1: error: undefined reference to `_Unwind_SjLj_Register'
File not found: qstring.cpp
It seems I've missed an obvious step here...please advise.
Thanks,
-Rich
I'm interested in creating a standalone exe for windows. Thus, I followed the procedure using the windows-build-qt-static.ps1 PowerShell script without too much issue and I've got a static linked image of Qt 5.4.1 installed in C:\Qt\Static\5.4.1\. The script seems to download qt-everywhere-opensource-src-5.4.1.7z and start the build process.
Under tools I've added the C:\Qt\Static\5.4.1\bin\qmake.exe for Qt 5.4.1 Static and then created a kit. It used the same compiler (MinGW 4.9.1. 32 bit).
Now when I build using the new kit I get 100s of the same error...they are all similar to:
qstring.cpp:-1: error: undefined reference to `_Unwind_SjLj_Register'
File not found: qstring.cpp
It seems I've missed an obvious step here...please advise.
Thanks,
-Rich