Build system update, minor fix
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0686b9a65d
commit
962b1c82c3
7 changed files with 11 additions and 13 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
DOCKER_IMAGE=sypingauto/gta5view-build:1.9-static
|
||||
DOCKER_IMAGE=sypingauto/gta5view-build:1.10-static
|
||||
PROJECT_DIR_DOCKER=/gta5view
|
||||
|
||||
cd ${PROJECT_DIR} && \
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
DOCKER_IMAGE=sypingauto/gta5view-build:1.9-shared
|
||||
DOCKER_IMAGE=sypingauto/gta5view-build:1.10-shared
|
||||
PROJECT_DIR_DOCKER=/gta5view
|
||||
|
||||
cd ${PROJECT_DIR} && \
|
||||
|
|
|
@ -6,7 +6,7 @@ environment:
|
|||
|
||||
steps:
|
||||
- name: Windows Installer
|
||||
image: sypingauto/gta5view-build:1.9-shared
|
||||
image: sypingauto/gta5view-build:1.10-shared
|
||||
environment:
|
||||
BUILD_SCRIPT: "wininstall_build.sh"
|
||||
QT_SELECT: "qt5-x86_64-w64-mingw32"
|
||||
|
@ -18,7 +18,7 @@ steps:
|
|||
- name: gta5view
|
||||
path: /srv/gta5view
|
||||
- name: Windows Portable
|
||||
image: sypingauto/gta5view-build:1.9-static
|
||||
image: sypingauto/gta5view-build:1.10-static
|
||||
environment:
|
||||
BUILD_SCRIPT: "windows_build.sh"
|
||||
QT_SELECT: "qt5-x86_64-w64-mingw32"
|
||||
|
|
|
@ -6,7 +6,7 @@ variables:
|
|||
|
||||
Windows Installer:
|
||||
stage: build
|
||||
image: sypingauto/gta5view-build:1.9-shared
|
||||
image: sypingauto/gta5view-build:1.10-shared
|
||||
variables:
|
||||
BUILD_SCRIPT: "wininstall_build.sh"
|
||||
QT_SELECT: "qt5-x86_64-w64-mingw32"
|
||||
|
@ -19,7 +19,7 @@ Windows Installer:
|
|||
|
||||
Windows Portable:
|
||||
stage: build
|
||||
image: sypingauto/gta5view-build:1.9-static
|
||||
image: sypingauto/gta5view-build:1.10-static
|
||||
variables:
|
||||
BUILD_SCRIPT: "windows_build.sh"
|
||||
QT_SELECT: "qt5-x86_64-w64-mingw32"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*****************************************************************************
|
||||
* gta5view Grand Theft Auto V Profile Viewer
|
||||
* Copyright (C) 2017-2020 Syping
|
||||
* Copyright (C) 2017-2021 Syping
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -21,7 +21,6 @@
|
|||
#include "IconLoader.h"
|
||||
#include "AppEnv.h"
|
||||
#include <QPainter>
|
||||
#include <QDebug>
|
||||
#include <QStyle>
|
||||
|
||||
MapLocationDialog::MapLocationDialog(double x, double y, QWidget *parent) :
|
||||
|
@ -121,7 +120,7 @@ void MapLocationDialog::updatePosFromEvent(double x, double y)
|
|||
x_pos = x_per * 2340; // 2340 is 100% for X (Cayo Perico)
|
||||
y_pos = y_per * -2340; // -2340 is 100% for Y (Cayo Perico)
|
||||
x_pos = x_pos + 3560; // +3560 gets corrected for X (Cayo Perico)
|
||||
y_pos = y_pos - 3980; // -4000 gets corrected for Y (Cayo Perico)
|
||||
y_pos = y_pos - 3980; // -3980 gets corrected for Y (Cayo Perico)
|
||||
}
|
||||
else {
|
||||
x_pos = x_per * 10000; // 10000 is 100% for X (Los Santos)
|
||||
|
@ -196,7 +195,7 @@ void MapLocationDialog::mouseMoveEvent(QMouseEvent *ev)
|
|||
#elif QT_VERSION >= 0x050000
|
||||
const QPointF localPos = ev->localPos();
|
||||
#else
|
||||
const QPoint localPos = ev->pos();
|
||||
const QPointF localPos = ev->posF();
|
||||
#endif
|
||||
#ifdef Q_OS_WIN
|
||||
qreal screenRatioPR = AppEnv::screenRatioPR();
|
||||
|
|
|
@ -15,8 +15,8 @@ Grand Theft Auto V Savegame and Snapmatic viewer/editor
|
|||
|
||||
# Note: Install Docker Community Edition and Git before continuing
|
||||
git clone https://gitlab.com/Syping/gta5view && cd gta5view
|
||||
docker pull sypingauto/gta5view-build:1.9-static
|
||||
docker run --rm -v ${PWD}:/gta5view -it sypingauto/gta5view-build:1.9-static
|
||||
docker pull sypingauto/gta5view-build:1.10-static
|
||||
docker run --rm -v ${PWD}:/gta5view -it sypingauto/gta5view-build:1.10-static
|
||||
cd /gta5view && mkdir -p build && cd build
|
||||
mingw64-qt-cmake ../
|
||||
make -j $(nproc --all)
|
||||
|
|
1
main.cpp
1
main.cpp
|
@ -49,7 +49,6 @@
|
|||
#include <QLayout>
|
||||
#include <QObject>
|
||||
#include <QString>
|
||||
#include <QDebug>
|
||||
#include <QFont>
|
||||
#include <QFile>
|
||||
|
||||
|
|
Loading…
Reference in a new issue