Skip to content

Instantly share code, notes, and snippets.

@yottatsa
Created May 23, 2022 20:37
Show Gist options
  • Select an option

  • Save yottatsa/62cba86f73683d380fc32f1801be16b9 to your computer and use it in GitHub Desktop.

Select an option

Save yottatsa/62cba86f73683d380fc32f1801be16b9 to your computer and use it in GitHub Desktop.
How to configure Qt 4.8.7 on GCC 7 on modern Ubuntu
CXXFLAGS='-fpermissive' CFLAGS='-fpermissive' \
OPENSSL_LIBS='-I/opt/amd/ssl/include -L/opt/amd/ssl/lib -lssl -lcrypto' \
CC=gcc-7 CXX=g++-7 \
../qt/configure -opensource -confirm-license -release -shared -fast \
-nomake docs -nomake demos -nomake examples -nomake tests \
-no-cups -no-webkit -no-qt3support -xmlpatterns -no-javascript-jit -no-script \
-no-scripttools -no-libtiff -system-sqlite -no-accessibility \
-prefix /opt/amd/qt -openssl-linked -I/opt/amd/ssl/include -L/opt/amd/ssl/lib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment