mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-03 10:26:36 +00:00
Fixing CI
This commit is contained in:
@@ -11,9 +11,11 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Install Qt5 and the dependencies of the SFML.
|
- name: Install the dependencies of the SFML.
|
||||||
run: sudo apt-get update &&
|
run: sudo apt-get update &&
|
||||||
sudo apt-get install --yes qt5-default libfreetype6-dev libxrandr-dev libudev-dev libogg-dev libflac-dev libvorbis-dev libopenal-dev freeglut3-dev
|
sudo apt-get install --yes qt5-default libfreetype6-dev libxrandr-dev libudev-dev libogg-dev libflac-dev libvorbis-dev libopenal-dev freeglut3-dev
|
||||||
|
- name: Install Qt
|
||||||
|
uses: ouuan/install-qt-action@v2.3.1
|
||||||
- name: Install the SFML.
|
- name: Install the SFML.
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/SFML/SFML -b 2.5.x /tmp/sfml
|
git clone https://github.com/SFML/SFML -b 2.5.x /tmp/sfml
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ namespace ComSquare::Renderer
|
|||||||
#ifdef Q_WS_X11
|
#ifdef Q_WS_X11
|
||||||
XFlush(QX11Info::display());
|
XFlush(QX11Info::display());
|
||||||
#endif
|
#endif
|
||||||
this->_window.create(this->winId());
|
this->_window.create((sf::WindowHandle)this->winId());
|
||||||
this->_onInit();
|
this->_onInit();
|
||||||
|
|
||||||
connect(&_timer, SIGNAL(timeout()), this, SLOT(repaint()));
|
connect(&_timer, SIGNAL(timeout()), this, SLOT(repaint()));
|
||||||
|
|||||||
Reference in New Issue
Block a user