4.8.7 __exclusive__ — Qt

FROM ubuntu:16.04 RUN apt-get update && apt-get install -y build-essential libgl1-mesa-dev ... ADD qt-everywhere-opensource-src-4.8.7.tar.gz /opt/ WORKDIR /opt/qt-everywhere-opensource-src-4.8.7 RUN ./configure -prefix /usr/local/qt487 ... && make -j4 && make install

configure -platform win32-g++ -prefix C:\Qt\4.8.7 mingw32-make mingw32-make install main.cpp qt 4.8.7

QApplication app(argc, argv); QLabel label("Hello from Qt 4.8.7"); label.show(); return app.exec(); FROM ubuntu:16

qmake -project qmake make ./your_app