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

👎 error: mywindow.o: undefined reference to symbol 'XShapeCombineRectangles' #3

Open
zheniantoushipashi opened this issue Dec 1, 2014 · 4 comments

Comments

@zheniantoushipashi
Copy link

编译的时候 👎 error: mywindow.o: undefined reference to symbol 'XShapeCombineRectangles'
是怎么回事啊, 缺少引用,该怎么解决

@jun-zhang
Copy link

在qxtglobalshortcut.pri里unix{
QT += x11extras
LIBS += -lX11
SOURCES += $$PWD/qxtglobalshortcut_x11.cpp
}
在LIBS 后面添加 -lXext

@zheniantoushipashi
Copy link
Author

ok ,我试试,thanks

@xiangzhai
Copy link

CONFIG += link_pkgconfig
PKGCONFIG += xext

@hillwoodroc
Copy link

多谢兔子,解决了另一个问题。

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

4 participants