tags:

views:

124

answers:

1

I want to link a .lib in my Qt project and I get an error about an undefined reference to vhtIOConn::getDefault(vhtIOConn::DeviceType).

I have already added the following specifications to the .pro file:

######################################################################
# Automatically generated by qmake (2.01a) vie 28. ago 12:48:10 2009
######################################################################

TARGET = 
DEPENDPATH += .
INCLUDEPATH += .

LIBS += "C:\agregar\VirtualHandCore.lib"
LIBS += "C:\agregar\VirtualHandDevice.lib"
LIBS += "C:\agregar\VirtualHandRegistry.lib"

# Input
HEADERS += "C:/Documents and Settings/halvarado/Mis documentos/respaldos de Qt/Development/include/vhandtk/vhtBase.h"
SOURCES += main.cpp

What should I do?

A: 

Don't have access to a pc now, but try removing the quotes and using slash instead of backslash as separator for the lib paths.

rpg