Dear All,

I working on a small project, I've finished the logical part of the programming in X11 on Linux.

I've designed an interface by Qt.

But when compiling, seems that I cannot link my target library.

As this: in gcc, I can write as:
$gcc -o whiteBoard `pkg-config --cflags --libs xi` whiteBoard.c
( or simply $gcc -o whiteBoard -lXi whiteBoard.c)

But how to link this library ( Xi to be exact) in Qt????

I've googled it, but failed.
Any suggestion would be greatly welcomed.