Skip to content

Commit

Permalink
Merge pull request WizTeam#637 from WizTeam/2.8.8
Browse files Browse the repository at this point in the history
2.8.8
  • Loading branch information
WizTeam authored Mar 5, 2021
2 parents 0939c84 + 3e2a490 commit 7067bcf
Show file tree
Hide file tree
Showing 218 changed files with 7,650 additions and 1,359 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ CMakeLists.txt.user*
!macos-package/.DS_Store
*.autosave
.idea/*

*.user

*.stash
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ else(APPLE)
endif(APPLE)

set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
set(CMAKE_OSX_SYSROOT "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk")
# set(CMAKE_OSX_SYSROOT "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk")

# rpath resolve.
#set(CMAKE_BUILD_WITH_INSTALL_RPATH YES) // would cause wheelEvent problem on centos/fedora when compiled with qt5
Expand Down
564 changes: 564 additions & 0 deletions Makefile

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions WizNote.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
TEMPLATE = subdirs

CONFIG += ordered

SUBDIRS += \
lib/zlib \
lib/quazip \
lib/cryptopp \
src

quazip.depends = zlib
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/common/logo/AppIcon.appiconset/1024-128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/common/logo/AppIcon.appiconset/1024-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/common/logo/AppIcon.appiconset/1024-256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/common/logo/AppIcon.appiconset/1024-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/common/logo/AppIcon.appiconset/1024-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/common/logo/AppIcon.appiconset/1024-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
68 changes: 68 additions & 0 deletions build/common/logo/AppIcon.appiconset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"images" : [
{
"size" : "16x16",
"idiom" : "mac",
"filename" : "1024-16.png",
"scale" : "1x"
},
{
"size" : "16x16",
"idiom" : "mac",
"filename" : "1024-32.png",
"scale" : "2x"
},
{
"size" : "32x32",
"idiom" : "mac",
"filename" : "1024-32.png",
"scale" : "1x"
},
{
"size" : "32x32",
"idiom" : "mac",
"filename" : "1024-64.png",
"scale" : "2x"
},
{
"size" : "128x128",
"idiom" : "mac",
"filename" : "1024-128.png",
"scale" : "1x"
},
{
"size" : "128x128",
"idiom" : "mac",
"filename" : "1024-256.png",
"scale" : "2x"
},
{
"size" : "256x256",
"idiom" : "mac",
"filename" : "1024-256.png",
"scale" : "1x"
},
{
"size" : "256x256",
"idiom" : "mac",
"filename" : "1024-512.png",
"scale" : "2x"
},
{
"size" : "512x512",
"idiom" : "mac",
"filename" : "1024-512.png",
"scale" : "1x"
},
{
"size" : "512x512",
"idiom" : "mac",
"filename" : "1024-1024.png",
"scale" : "2x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file modified build/common/logo/wiznote.icns
Binary file not shown.
4 changes: 1 addition & 3 deletions build/osx/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleShortVersionString</key>
<string>2.8.5</string>
<string>2.8.7</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.productivity</string>
<key>CFBundleName</key>
Expand Down Expand Up @@ -59,8 +59,6 @@
</array>
</dict>
</array>
<key>NSRequiresAquaSystemAppearance</key>
<false/>
<key>NSServices</key>
<array>
<dict>
Expand Down
6 changes: 4 additions & 2 deletions cmake/QtChooser.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@ macro(qt_add_resources)
endmacro()

macro(qt_use_modules)
find_package(Qt5 REQUIRED WebEngine WebEngineWidgets WebSockets WebChannel)
if(APPLE)
qt5_use_modules(${ARGV0} Core Gui Widgets Xml Network PrintSupport WebEngine WebEngineWidgets WebSockets WebChannel MacExtras)
find_package(Qt5 REQUIRED MacExtras)
target_link_libraries(${ARGV0} Qt5::Core Qt5::Gui Qt5::Widgets Qt5::Xml Qt5::Network Qt5::PrintSupport Qt5::WebEngine Qt5::WebEngineWidgets Qt5::WebSockets Qt5::WebChannel Qt5::MacExtras)
else(APPLE)
qt5_use_modules(${ARGV0} Core Gui Widgets Xml Network PrintSupport WebEngine WebEngineWidgets WebSockets WebChannel)
target_link_libraries(${ARGV0} Qt5::Core Qt5::Gui Qt5::Widgets Qt5::Xml Qt5::Network Qt5::PrintSupport Qt5::WebEngine Qt5::WebEngineWidgets Qt5::WebSockets Qt5::WebChannel)
endif(APPLE)
endmacro()

Expand Down
Loading

0 comments on commit 7067bcf

Please sign in to comment.