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:

Right click the project file used to compile Choose the WinXP compatibility option

Qt Creator

This page says a line can be added to the Qt Creator project file (.pro) to achieve the same thing:

  1. QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS,5.01

Related Issue(s) in our repo

Other notes