Skip to content

Commit c639c5f

Browse files
author
Alexis Lopez Zubieta
committed
Replace default qtchooser config.
1 parent afcc37b commit c639c5f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.travis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,17 @@ addons:
1818
- qt510webengine
1919
- mesa-common-dev
2020
- cmake
21-
22-
script:
21+
install:
2322
- export QT_PREFIX=/opt/qt510
23+
- mkdir -p $HOME/.config/qtchooser
24+
- echo "${QT_PREFIX}/bin" > $HOME/.config/qtchooser/qt5.10.conf
25+
- echo "${QT_PREFIX}/lib" >> $HOME/.config/qtchooser/qt5.10.conf
2426

27+
script:
2528
- $QT_PREFIX/bin/qt510-env.sh
2629
- export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${QT_PREFIX}/lib"
2730
- export CMAKE_PREFIX_PATH=$QT_PREFIX/lib/cmake
28-
- export QT_SELECT=qt5
29-
- sudo ln -s $QT_PREFIX/bin/qmake /usr/bin/qmake
31+
- export QT_SELECT=qt5.10
3032
- bash -xe build_appimages.sh
3133

3234
after_success:

0 commit comments

Comments
 (0)