How I attach external library:
- Create new QTWidgets
- press right button of mouse on name of project
- chose Add library
- chose external library
- chose file with library (ftd2xx.lib)
- to *.pro is attached the following block
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/C:/Documents and Settings/IE25USER/Pulpit/CDM v2.12.06 WHQL Certified/Static/i386/ -lftd2xx
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/C:/Documents and Settings/IE25USER/Pulpit/CDM v2.12.06 WHQL Certified/Static/i386/ -lftd2xxd
INCLUDEPATH += $$PWD/C:/Documents and Settings/IE25USER/Pulpit/CDM v2.12.06 WHQL Certified/Static/i386
DEPENDPATH += $$PWD/C:/Documents and Settings/IE25USER/Pulpit/CDM v2.12.06 WHQL Certified/Static/i386
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/C:/Documents and Settings/IE25USER/Pulpit/CDM v2.12.06 WHQL Certified/Static/i386/ -lftd2xx
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/C:/Documents and Settings/IE25USER/Pulpit/CDM v2.12.06 WHQL Certified/Static/i386/ -lftd2xxd
INCLUDEPATH += $$PWD/C:/Documents and Settings/IE25USER/Pulpit/CDM v2.12.06 WHQL Certified/Static/i386
DEPENDPATH += $$PWD/C:/Documents and Settings/IE25USER/Pulpit/CDM v2.12.06 WHQL Certified/Static/i386
To copy to clipboard, switch view to plain text mode
after compiling I have the errors:
- error: and: No such file or directory
- error: Settings/IE25USER/Pulpit/CDM: No such file or directory
- error: v2.12.06: No such file or directory
- error: WHQL: No such file or directory
- error: Certified/Static/i386/: No such file or directory
I do not know why I have the erros.
Regards
Artur
Bookmarks