Solved compiling err
-
g++ -Wl,-O1 -Wl,-rpath,/home/suck/Qt/5.8/gcc_64/lib -o test main.o mainwindow.o moc_mainwindow.o -L/home/suck/Qt/5.8/gcc_64/lib -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread
/usr/bin/ld: cannot find -lGL -
It may be missing Library. Try this
sudo apt-get install libglu1-mesa-dev
-
Thanks that worked.
now it is giving:
QApplication: invalid style override passed, ignoring it.I needed to install Linux from Windows 10 forced upgrade.
-
Super. Move the current issue to solved state. You can post. Another question for ur next problem.
-
@sovereignc said in compiling err:
now it is giving:
QApplication: invalid style override passed, ignoring it.May be this link can help you https://forum.qt.io/topic/75398/qt-5-8-0-qapplication-invalid-style-override-passed-ignoring-it