On 10/8/2010 4:35 AM, 张建锋 wrote:
> I want use "xenctrl.h"(xen-devel) in QT,
> In my program , "#include <xenctrl.h>"
> In the .pro file , I add " LIBS += -lxenctrl" ,
> compiler output undefined reference to 'xc_find_device_number(devicename)'.
> if I compile the program use gcc test.c -o test -lxenctrl ,the compile
> passed.
> how can I do ?

Try adding the header directory with INCLUDEPATH:
<http://doc.trolltech.com/latest/qmake-variable-reference.html#includepath>
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to