This repository was archived by the owner on Mar 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed
tools/qdatasyncserver/dockerbuild Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22set -e
33
4+ QT_VER=5.9.1
45QT_DEPS=" libglib2.0-0 libstdc++6 libpq5 ca-certificates"
56QT_BUILD_DEPS=" libgl1-mesa-dev libpulse-dev g++ make git curl xauth libx11-xcb1 libfontconfig1 libdbus-1-3"
67INSTALL_DIR=/tmp/qt
78INSTALLER=$INSTALL_DIR /installer.run
8- QT_DIR=$INSTALL_DIR /install/5.9 /gcc_64
9+ QT_DIR=$INSTALL_DIR /install/$QT_VER /gcc_64
910DATASYNC_DIR=/opt/qdatasyncserver
1011
1112# install deps
@@ -17,6 +18,18 @@ curl -Lo $INSTALLER https://download.qt.io/official_releases/online_installers/q
1718chmod +x $INSTALLER
1819QT_QPA_PLATFORM=minimal $INSTALLER --script $INSTALL_DIR /qt-installer-script.qs --addRepository https://install.skycoder42.de/qtmodules/linux_x64
1920
21+ # clone and build datasync
22+ mkdir /tmp/build
23+ cd /tmp/build
24+ git clone https://github.com/Skycoder42/QtDataSync.git --branch 3.0.2
25+
26+ mkdir build
27+ cd build
28+ $QT_DIR /bin/qmake -r ../qtdatasync/
29+ cd tools/qdatasyncserver
30+ make
31+ make install
32+
2033# move libs
2134QT_LIB_DIR=$QT_DIR /lib
2235DATASYNC_LIB_DIR=$DATASYNC_DIR /lib/
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ Controller.prototype.TargetDirectoryPageCallback = function() {
3030Controller . prototype . ComponentSelectionPageCallback = function ( ) {
3131 var widget = gui . currentPageWidget ( ) ;
3232 widget . deselectAll ( ) ;
33- widget . selectComponent ( "qt.59 .gcc_64" ) ;
34- widget . selectComponent ( "qt.59 .skycoder42.datasync " ) ;
33+ widget . selectComponent ( "qt.591 .gcc_64" ) ;
34+ widget . selectComponent ( "qt.591 .skycoder42.backgroundprocess " ) ;
3535 gui . clickButton ( buttons . NextButton ) ;
3636}
3737
You can’t perform that action at this time.
0 commit comments