forked from sqlitebrowser/sqlitebrowser
-
Notifications
You must be signed in to change notification settings - Fork 0
Notes for compiling on Windows
Justin Clift edited this page Aug 12, 2016
·
25 revisions
- MS Visual Studio 2013 (as both compiler + IDE) works
- Complete setup, build, and packaging instructions are here.
- Qt Creator (as IDE) works, using MSVC 2013 as the compiler
- Instructions for setting it up and building haven't yet been written up
- Open the src/src.pro file first, run lupdate, then lrelease
- This avoids the error about missing translation files, that happens if you open and use the sqlitebrowser.pro file first (in a newly cloned repo)
- After doing the above, close the src/src.pro file, then open the sqlitebrowser.pro one
- Choose the msvc 2013 64-bit kit for the project (it will ask when you open the .pro file)
- Compile/debug as per normal
When compiling 32-bit builds, Windows XP compatibility can be enabled for them.
This post mentions adding -T vc120_xp to the cmake command line as one way to make it happen.
Using the MSVC 2013 IDE, it can be achieved like this:

This page says a line can be added to the Qt Creator project file (.pro) to achieve the same thing:
QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS,5.01
- Conan looks like it might be useful for dependency management - https://www.conan.io. It's Open Source.