• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Bindings for graphics lib QCustomPlot2 for PyQt5


Commit MetaInfo

Revision57a82b572973377bc561a5905cdbb71ed81ee8c3 (tree)
Time2022-11-27 01:30:13
AuthorSergey Salnikov <salsergey@gmai...>
CommiterSergey Salnikov

Log Message

Fixed building internal QCustomPlot for Windows.

Change Summary

Incremental Difference

--- a/pyproject.toml
+++ b/pyproject.toml
@@ -8,7 +8,7 @@ build-backend = 'sipbuild.api'
88 name = 'QCustomPlot2'
99 version = '2.1.1'
1010 summary = 'QCustomPlot is a Qt widget for plotting and data visualization'
11-home-page = 'https://osdn.net/users/salsergey/pf/QCustomPlot2-PyQt5'
11+home-page = 'https://github.com/salsergey/QCustomPlot2-PyQt5'
1212 maintainer = 'Sergey Salnikov'
1313 maintainer-email = 'salsergey@gmail.com'
1414 license = 'MIT'
--- a/src/qcp-staticlib.pro
+++ b/src/qcp-staticlib.pro
@@ -10,10 +10,11 @@ lessThan(QT_MAJOR_VERSION, 5): QMAKE_CXXFLAGS += -std=c++11
1010
1111 TEMPLATE = lib
1212 CONFIG += qt staticlib debug_and_release build_all
13-DESTDIR = $$PWD
1413
15-QMAKE_CXXFLAGS += -Wall -Wextra
16-QMAKE_CXXFLAGS += -Wold-style-cast -Wlogical-op -Wduplicated-branches -Wduplicated-cond
14+!win32 {
15+ QMAKE_CXXFLAGS += -Wall -Wextra
16+ QMAKE_CXXFLAGS += -Wold-style-cast -Wlogical-op -Wduplicated-branches -Wduplicated-cond
17+}
1718
1819 VERSION = 2.1.1
1920 TARGET = qcustomplot