| Цитата(Любитель @ 30.1.2008, 13:10) | | В PSDK MFC не входит. |
Наверно в этом все дело. Выбрал Debug STL и все прекрасно собралось
теперь при указании в .pro файле библиотеки ZipArchive.lib
| Код | TEMPLATE = app TARGET = FinReporter
CONFIG += console
Qt += xml
UI_DIR = src\uic MOC_DIR = src\moc
SOURCES = src\main.cpp src\mainwindow.cpp src\dbase.cpp HEADERS = src\mainwindow.h src\dbase.h FORMS = src\forms\mainwindow.ui LIBS += "src\lib\zip\Debug STL\ZipArchive.lib"
|
получается такие ошибки
| Код | ------ Build started: Project: FinReporter, Configuration: Debug Win32 ------ Performing Makefile project actions Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. nmake -f Makefile.Debug Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. link /LIBPATH:"d:\lib\qt-4.3.3\lib" /NOLOGO /DEBUG /SUBSYSTEM:CONSOLE /MANIFESTFILE:"debug\FinReporter.intermediate.manifest" /OUT:debug\FinReporter.exe @D:\TEMP\nm4FD.tmp dbase.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CZipArchive::ExtractFile(unsigned short,unsigned short const *,bool,unsigned short const *,unsigned long)" (?ExtractFile@CZipArchive@@QAE_NGPBG_N0K@Z) referenced in function "public: void __thiscall FinDataBase::newBase(class QString)" (?newBase@FinDataBase@@QAEXVQString@@@Z) dbase.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CZipArchive::Open(unsigned short const *,int,unsigned long)" (?Open@CZipArchive@@QAE_NPBGHK@Z) referenced in function "public: void __thiscall FinDataBase::newBase(class QString)" (?newBase@FinDataBase@@QAEXVQString@@@Z) debug\FinReporter.exe : fatal error LNK1120: 2 unresolved externals NMAKE : fatal error U1077: 'link' : return code '0x460' Stop. NMAKE : fatal error U1077: 'C:\lib\platform_sdk\Bin\nmake.exe' : return code '0x2' Stop. Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions" Build log was saved at "file://d:\FILE\projects\finreporter\Debug\BuildLog.htm" FinReporter - 6 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
|
|