These are initial notes for compiling on Windows
- 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
Notes for Qt Creator
- 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
Windows XP compatibility
When compiling 32-bit builds, Windows XP compatibility can be enabled for them.
CMake
This post mentions adding -T vc120_xp
to the cmake command line as one way to make it happen.
MSVC 2013
Using the MSVC 2013 IDE, it can be achieved like this:
Qt Creator
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
Related Issue(s) in our repo
Other notes
- Conan looks like it might be useful for dependency management - https://www.conan.io. It’s Open Source.
当前内容版权归 sqlitebrowser 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 sqlitebrowser .