New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows: support static build and enable ASLR and NX #15

rdoeffinger opened this Issue Mar 28, 2015 · 1 comment


None yet
1 participant

rdoeffinger commented Mar 28, 2015

Without these linking against a static Qt still needs libgcc_s_sjlj-1.dll and libstdc++-6.dll, which I think is not desirable.
Enabling ASLR and NX should be a good idea always.
Haven't really tested except compilation and starting with WINE though.

--- a/
+++ b/
@@ -44,6 +44,10 @@ RESOURCES += resources.qrc

win32 {
RC_FILE = windows.rc

  • static {
  •    QMAKE_LFLAGS += -static-libgcc -static-libstdc++
  • }
  • QMAKE_LFLAGS += -Wl,--dynamicbase -Wl,--nxcompat
    } else:macx {
    ICON = artwork/icon.icns

This comment has been minimized.


rdoeffinger commented Apr 6, 2015

Fixed by my patches being merged

@rdoeffinger rdoeffinger closed this Apr 6, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment