QQStars icon indicating copy to clipboard operation
QQStars copied to clipboard

:-1: error: mywindow.o: undefined reference to symbol 'XShapeCombineRectangles'

Open zheniantoushipashi opened this issue 10 years ago • 4 comments

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

zheniantoushipashi avatar Dec 01 '14 03:12 zheniantoushipashi

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

jun-zhang avatar Dec 01 '14 09:12 jun-zhang

ok ,我试试,thanks

zheniantoushipashi avatar Dec 01 '14 10:12 zheniantoushipashi

CONFIG += link_pkgconfig PKGCONFIG += xext

xiangzhai avatar Jan 16 '15 06:01 xiangzhai

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

hillwoodroc avatar Feb 14 '17 13:02 hillwoodroc