mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-22 22:45:52 +00:00
Fixing CI
This commit is contained in:
@@ -11,9 +11,11 @@ jobs:
|
||||
|
||||
steps:
|
||||
- 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 &&
|
||||
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.
|
||||
run: |
|
||||
git clone https://github.com/SFML/SFML -b 2.5.x /tmp/sfml
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace ComSquare::Renderer
|
||||
#ifdef Q_WS_X11
|
||||
XFlush(QX11Info::display());
|
||||
#endif
|
||||
this->_window.create(this->winId());
|
||||
this->_window.create((sf::WindowHandle)this->winId());
|
||||
this->_onInit();
|
||||
|
||||
connect(&_timer, SIGNAL(timeout()), this, SLOT(repaint()));
|
||||
|
||||
Reference in New Issue
Block a user