Skip to content

Commit

Permalink
Fix Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
AmonRaNet committed Apr 18, 2021
1 parent 70d7e45 commit b0544a1
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ repos:
stages: [commit]

- repo: https://github.com/pocc/pre-commit-hooks
rev: python
rev: v1.1.1
hooks:
- id: clang-format
args: [-i]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
rev: v3.4.0
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
Expand Down
Empty file modified CMakeLists.txt
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ What things you need:
* Qt 5.6 or higher (core, gui, widgets, network)
* qmake or cmake
* doxygen (optional)
* pre-commits (optional) https://pre-commit.com/
* pre-commit (optional) https://pre-commit.com/

### Installing

Expand Down
13 changes: 10 additions & 3 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
# Release Notes

## v1.0.2 - 26.04.2020
## v1.0.3

- Fixed bug for Windows build
- Updated pre-commit requirements (python3)
- Added pre-commit github-workflow
- Added doxygen github-workflow

## v1.0.2

Maintenance work:
- Added git pre-commit hooks
- Fixed mixed line-endings (final: \n)
- Fixed clang-format errors
- Updated legacy header

## v1.0.1 - 30.12.2019
## v1.0.1

Relicense to LGPL 3.0 instead of GPL 3.0

## v1.0.0 - 17.09.2018
## v1.0.0

Initial version
26 changes: 13 additions & 13 deletions lib/include/QGeoView/QGVGlobal.h
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -162,24 +162,24 @@ class QGV_LIB_DECL GeoTilePos
QPoint mPos;
};

void setNetworkManager(QNetworkAccessManager* manager);
QNetworkAccessManager* getNetworkManager();
QGV_LIB_DECL void setNetworkManager(QNetworkAccessManager* manager);
QGV_LIB_DECL QNetworkAccessManager* getNetworkManager();

QTransform createTransfrom(QPointF const& projAnchor, double scale, double azimuth);
QTransform createTransfromScale(QPointF const& projAnchor, double scale);
QTransform createTransfromAzimuth(QPointF const& projAnchor, double azimuth);
QPainterPath createTextPath(const QRect& rect, const QString& text, const QFont& font, int penWidth);
QGV_LIB_DECL QTransform createTransfrom(QPointF const& projAnchor, double scale, double azimuth);
QGV_LIB_DECL QTransform createTransfromScale(QPointF const& projAnchor, double scale);
QGV_LIB_DECL QTransform createTransfromAzimuth(QPointF const& projAnchor, double azimuth);
QGV_LIB_DECL QPainterPath createTextPath(const QRect& rect, const QString& text, const QFont& font, int penWidth);

void setDrawDebug(bool enabled);
bool isDrawDebug();
void setPrintDebug(bool enabled);
bool isPrintDebug();
QGV_LIB_DECL void setDrawDebug(bool enabled);
QGV_LIB_DECL bool isDrawDebug();
QGV_LIB_DECL void setPrintDebug(bool enabled);
QGV_LIB_DECL bool isPrintDebug();

} // namespace QGV

QDebug operator<<(QDebug debug, const QGV::GeoPos& value);
QDebug operator<<(QDebug debug, const QGV::GeoRect& value);
QDebug operator<<(QDebug debug, const QGV::GeoTilePos& value);
QGV_LIB_DECL QDebug operator<<(QDebug debug, const QGV::GeoPos& value);
QGV_LIB_DECL QDebug operator<<(QDebug debug, const QGV::GeoRect& value);
QGV_LIB_DECL QDebug operator<<(QDebug debug, const QGV::GeoTilePos& value);

Q_DECLARE_METATYPE(QGV::GeoPos)
Q_DECLARE_METATYPE(QGV::GeoRect)
Expand Down
Empty file modified lib/src/QGVCamera.cpp
100644 → 100755
Empty file.

0 comments on commit b0544a1

Please sign in to comment.