Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unknown option 'qt' when running make -j4 #197

Open
mansur007 opened this issue Jul 13, 2019 · 9 comments
Open

unknown option 'qt' when running make -j4 #197

mansur007 opened this issue Jul 13, 2019 · 9 comments

Comments

@mansur007
Copy link

when executing make -j4 following error appears:
...
-c render-simple.cpp -o.build-release/render-simple.o -MMD -MF .build-release/render-simple.o.dep
gcc -std=c++11 -Wall -Wno-unused-variable -Wno-unused-function -Wno-deprecated-register -fPIC -DBT_USE_DOUBLE_PRECISION -g -O3 -march=native -I/usr/include pkg-config --cflags Qt5Widgets Qt5OpenGL assimp bullet -I/usr/local/include/bullet -c render-simple-primitives.cpp -o.build-release/render-simple-primitives.o -MMD -MF .build-release/render-simple-primitives.o.dep
moc -qt=5 -o .generated/test-tool-qt4.moc test-tool-qt4.cpp
Unknown option 'qt'.
Makefile:125: recipe for target '.generated/test-tool-qt4.moc' failed
make: *** [.generated/test-tool-qt4.moc] Error 1
make: *** Waiting for unfinished jobs....

Please help, couldn't find solution with google.
Ubuntu 16.04.6, installing with conda, tried both python 3.7 and 3.6.
Thanks

@apple1987
Copy link

met the same question, gooooooooooooooooooooooooo for help~

@mansur007
Copy link
Author

met the same question, gooooooooooooooooooooooooo for help~

sorry, I didn't get what you mean. What is gooo...?

@apple1987
Copy link

Have you solved this problem?

@mansur007
Copy link
Author

Have you solved this problem?

Unfortunately not

@TheCrazyT
Copy link

just a guess, but maybe try to update pyqt?

@TylerJamesMalloy
Copy link

This seems to be an issue with the line
MOC =moc -qt=5

I am using fedora so it may be related to a fedora specific issue, but I fixed it by replacing that line with:
MOC =moc

@mansur007
Copy link
Author

This seems to be an issue with the line
MOC =moc -qt=5

I am using fedora so it may be related to a fedora specific issue, but I fixed it by replacing that line with:
MOC =moc

I tried that and got:
many warnings
...
...
collect2: error: ld returned 1 exit status
Makefile:133: recipe for target '../robot-test-tool_d' failed
make: *** [../robot-test-tool_d] Error 1

@mansur007
Copy link
Author

just a guess, but maybe try to update pyqt?

doesn't work

@louis-shao
Copy link

Met the same problem on ubuntu 18.04. Removing "-qt=5" works totally fine for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants