Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
57f1824
Optimize build process with Qt6 in mind.
sandman7920 Aug 16, 2024
a587785
Fix platform include
sandman7920 Aug 16, 2024
4e60663
Update
sandman7920 Aug 16, 2024
04cde9c
CMake: add tests
sandman7920 Aug 20, 2024
2a72051
CMake: add install
sandman7920 Aug 20, 2024
8e6b7de
Cleanup windows platform
sandman7920 Aug 21, 2024
e5a09d4
Windows install now use windeployqt
sandman7920 Aug 21, 2024
1a183cd
SQLCipher: fix find_package
sandman7920 Aug 21, 2024
cc98ee5
Windows: set correct name for SQLCipher build
sandman7920 Aug 21, 2024
e168d50
Windows install: fix runtime libraries installation
sandman7920 Aug 21, 2024
c4e9dd4
CMake install: runtime libraries installation on Windows
sandman7920 Aug 21, 2024
2ad5f85
CMake Windows install: OpenSSL runtime libraries
sandman7920 Aug 22, 2024
708354d
Qt6 xml: fix string literals comparisons
sandman7920 Aug 22, 2024
457b1fd
FileDialog: explicit cast to QChar
sandman7920 Aug 22, 2024
81d98ad
qcustomplot internal: Add support for Qt5 and Qt6
sandman7920 Aug 22, 2024
18822a6
qcustomplot internal: update to version 2.1.1 for better Qt6 support
sandman7920 Aug 22, 2024
1cc181a
qhexedit internal: Add support for Qt5 and Qt6
sandman7920 Aug 22, 2024
970ebc7
qhexedit internal: replace obsolete method "width()"
sandman7920 Aug 22, 2024
fc69efb
qscintilla: update to version 2.14.1 with Qt5Qt6 support
sandman7920 Aug 22, 2024
9b92698
CMakeLists: add Qt6 support
sandman7920 Aug 22, 2024
b2533fd
FindQScintilla: add Qt6 support
sandman7920 Aug 22, 2024
d6b5985
3dparty: use the new qscintilla version
sandman7920 Aug 22, 2024
120d25a
Application: remove QDesktopWidget missing in Qt6
sandman7920 Aug 22, 2024
eb87ce9
main: fix Qt6 build
sandman7920 Aug 22, 2024
a680633
RegExp: Fix RegExp usage for Qt5Qt6
sandman7920 Aug 22, 2024
5f5efe9
Explicit cast
sandman7920 Aug 22, 2024
44e61d5
ForeignKeyEditorDelegate: disable deprecated layout->setMargin method
sandman7920 Aug 22, 2024
6ca9e63
ImportCsvDialog: use UTF-8 codec for Qt5 only
sandman7920 Aug 22, 2024
d0af9c2
RemoteNetwork: use new RedirectPolicyAttribute for Qt6 only
sandman7920 Aug 22, 2024
b44782f
csvparser: fix Qt6 build
sandman7920 Aug 22, 2024
5d93c62
CondFormat: use mid instead of Qt5::midRef
sandman7920 Aug 22, 2024
de83861
Use new Key Bindings with support for Qt5Qt6
sandman7920 Aug 22, 2024
2a34480
Fix Qt6 Windows install OpenSSL
sandman7920 Aug 22, 2024
6b54d01
Clear Obsolete Members for QComboBox
sandman7920 Aug 22, 2024
065ddf7
Fix tests for Qt6 build
sandman7920 Aug 23, 2024
ff666d4
Third-party libs: cleaning up cmake config
sandman7920 Aug 23, 2024
f7eab33
CondFormat: using mid only once for op(<> >= <=)
sandman7920 Aug 23, 2024
05db1a5
Use Qt::MatchRegularExpression flag only for Qt > 5.15.0
sandman7920 Aug 23, 2024
3f2ec99
Fix Qt5 build for older Qt version
sandman7920 Aug 23, 2024
8d65938
Pass pthread to the linker for Unix-like platforms
sandman7920 Aug 23, 2024
d490fa4
Remove legacy config
sandman7920 Aug 24, 2024
8b7bf8e
ForeignKeyEditorDelegate: remove unusded code
sandman7920 Aug 24, 2024
7cbaa61
Delete old qscintilla lib
sandman7920 Aug 24, 2024
ea7c538
Sort translations resources in Alphabetical order
sandman7920 Aug 24, 2024
d260330
RemoteNetwork: remove QRegExp usage
sandman7920 Aug 24, 2024
dc0aaa6
Data: remove RegExp
sandman7920 Aug 24, 2024
606234d
parseClipboard: replace QRegExp with QRegularExpression
sandman7920 Aug 25, 2024
799b818
Update Windows CI
sandman7920 Aug 26, 2024
51a666c
Set default paths for Apple platform
sandman7920 Aug 26, 2024
40406af
CMake: include platforms before FindQT
sandman7920 Aug 26, 2024
8283c85
CMake: Disable c++ extensions (e.g. gnu++14) for Apple
sandman7920 Aug 26, 2024
fb4737b
Trying to fix Mac build
sandman7920 Aug 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
fi

mkdir build && cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DcustomTap=1 -DENABLE_TESTING=ON -Dsqlcipher=${{ matrix.sqlcipher }} ..
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=14 -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DcustomTap=1 -DENABLE_TESTING=ON -Dsqlcipher=${{ matrix.sqlcipher }} ..

- name: Build
working-directory: ./build
Expand Down
21 changes: 12 additions & 9 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
choco install openssl --version=${{ env.OPENSSL_VERSION}}
}

- name: Install Ninja (Windows)
run: choco install -y --no-progress ninja

# When building SQLCipher, if we specify a path to OpenSSL and
# there are spaces in the path, an error will occur, so to
# avoid this, create the symlink.
Expand Down Expand Up @@ -107,9 +110,8 @@ jobs:
mkdir sqlcipher
copy sqlite3.h sqlcipher

- name: Patch CMakeLists.txt and WiX Toolset Variables
- name: Patch WiX Toolset Variables
run: |
git apply .github\patch\CMakeLists.txt.patch
git apply .github\patch\product.wxs.patch
git apply .github\patch\translations.wxs.patch
git apply .github\patch\variables.wxi.patch
Expand All @@ -118,28 +120,29 @@ jobs:
run: |
mkdir release-sqlite && cd release-sqlite
if ("${{ matrix.arch }}" -eq "Win32") {
cmake -G "Visual Studio 16 2019" -A "Win32" -DCMAKE_BUILD_TYPE=Release ..\
cmake -G"Ninja Multi-Config" -DCMAKE_PREFIX_PATH="C:/dev/SQLite-Win32;C:/dev/OpenSSL-Win32" ..\
} else {
cmake -G "Visual Studio 16 2019" ..\
cmake -G"Ninja Multi-Config" -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="C:/dev/SQLite-Win64;C:/dev/OpenSSL-Win64" ..\
}

- name: Build (SQLite)
run: cd release-sqlite && devenv /Build Release sqlitebrowser.sln /Project ALL_BUILD
run: |
cd release-sqlite
cmake --build . --config Release

- name: Configure build (SQLCipher)
run: |
mkdir release-sqlcipher && cd release-sqlcipher
if ("${{ matrix.arch }}" -eq "Win32") {
cmake -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=Release -Dsqlcipher=1 -A "Win32" ..\
cmake -G"Ninja Multi-Config" -Dsqlcipher=1 -DCMAKE_PREFIX_PATH="C:/dev/SQLCipher-Win32;C:/dev/OpenSSL-Win32" ..\
} else {
cmake -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=Release -Dsqlcipher=1 ..\
cmake -G"Ninja Multi-Config" -Dsqlcipher=1 -DCMAKE_PREFIX_PATH="C:/dev/SQLCipher-Win64;C:/dev/OpenSSL-Win64" ..\
}

- name: Build (SQLCipher)
run: |
cd release-sqlcipher
devenv /Build Release sqlitebrowser.sln /Project ALL_BUILD
mv "Release\DB Browser for SQLite.exe" "Release\DB Browser for SQLCipher.exe"
cmake --build . --config Release

- if: github.event_name != 'pull_request'
name: Create MSI
Expand Down
Loading