Upcios / PyQtSamples

Some examples written in PyQt, the Python binding for Qt application framework.
MIT License
30 stars 6 forks source link

No able to compile #1

Open patrickelectric opened 6 years ago

patrickelectric commented 6 years ago
patrick@dell  ~/git/PyQtSamples/PyQt5/vbarmodelmapper   master  cd build 
patrick@dell  ~/git/PyQtSamples/PyQt5/vbarmodelmapper/build   master  qmake .. CONFIG+=debug -spec linux-clang
patrick@dell  ~/git/PyQtSamples/PyQt5/vbarmodelmapper/build   master  make -j4
clang++ -ccc-gcc-name g++ -o vbarmodelmapper    -lQt5Quick -lQt5Gui -lQt5Qml -lQt5Network -lQt5Core -lGL -lpthread 
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.2.1/../../../../lib64/Scrt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:328: vbarmodelmapper] Error 1

Same error with clang. Running python main.py works fine :)