Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
wangwenx190 committed Sep 7, 2018
1 parent 130f76f commit cddee4d
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions msvc-reduce-qt-binary-file-size.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
QMAKE_CXXFLAGS_RTTI_ON =
```

- Use shared MSVCRT library(-MD, default)
- Use [VC-LTL](https://github.com/Chuyu-Team/VC-LTL) to reduce MSVCRT library size

- Disable C/C++ exception

Expand All @@ -41,13 +41,3 @@
```bat
upx --ultra-brute "*.dll"
```

- Edit your C++ code
```cpp
#ifndef _DEBUG
#pragma comment(linker, "/OPT:REF")
#pragma comment(linker, "/OPT:ICF")
#endif
```

- Use [VC-LTL](https://github.com/Chuyu-Team/VC-LTL) to reduce MSVCRT library size

0 comments on commit cddee4d

Please sign in to comment.