Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

VS2012 .vcxproj file not working as accepted

$
0
0
I have been trying to track down this linker error for a whole now that is titled VS2012 & mismatch detected for ‘_MSC_VER’ [qt-project.org] Well, I do generate the project file from a .pro and .pri file, so I thought I would try compiling it via jom and it links just fine, no issues. I regenerated the .vcxproj file and tried a clean build but I keep getting the same error, well there are two errors actually. The first error I get is this: 1>LINK : fatal error LNK1117: syntax error in option ‘manifest:embed’ I am able to get around that one by going into Properties —> Manifest Tools —> Input and Output and setting Embed Manifest to No. But I still get the mismatch detected for _MSC_VER. Here is my pro and pri file: pro: TARGET = SalesCenter QT += xml sql gui core script svg network printsupport widgets     CONFIG += debug_and_release DEFINES += QT_LARGEILE_SUPPORT QT_SQL_LIB _USE_32BIT_TIME_T QTPLUGIN  += qjpeg INCLUDEPATH += ./../../../include ./GeneratedFiles ../../3rdPartyLibraries/NCReport/src/ncreport ../../3rdPartyLibraries/NCReport/src/ncreport ../../3rdPartyLibraries/NCReport/src/preview . LIBS += -L../../3rdPartyLibraries/NCReport/lib -L./../../../lib -lLicenseLibMD PRECOMPILED_HEADER = stdafx.h DEPENDPATH += . UI_DIR += ./GeneratedFiles RCC_DIR += ./GeneratedFiles   CONFIG(debug, debug|release) {  DESTDIR = ../Debug  LIBS += -L../Debug -lncreportd  OBJECTS_DIR += Debug  MOC_DIR += ./GeneratedFiles/Debug  INCLUDEPATH += ./GeneratedFiles/Debug } else {  DEFINES += QT_NO_DEBUG_OUTPUT  DESTDIR = ../Release  LIBS += -L../Release -lncreport  OBJECTS_DIR += Release  MOC_DIR += ./GeneratedFiles/Release  INCLUDEPATH += ./GeneratedFiles/Release }   win32:RC_FILE = SalesCenter.rc   RESOURCES += ncreport/preview.qrc   include(SalesCenter.pri) SalesCenter.pri HEADERS += ./aboutform.h \     ./Action2TakeModel.h \     ./CustomerMdiChild.h \     ./CustomerSqlModel.h \     ./DataTransferObjects.h \     ./DBManager.h \     ./EventPriceListMgrForm.h \     ./EventPriceListSqlModel.h \     ./FavoriteCenter.h \     ./FavoriteCustomerSqlModel.h \     ./FavoriteDialog.h \     ./FavoriteImageData.h \     ./FavoriteImageModel.h \     ./FavoriteMgrWindow.h \     ./GeneralUtils.h \     ./ImageCopyDTO.h \     ./ImageManager.h \     ./InvoiceCenter.h \     ./InvoiceCenterSqlModel.h \     ./InvoiceEditorDelegate.h \     ./InvoiceEditorForm.h \     ./InvoiceImageMgr.h \     ./InvoiceItemDelegate.h \     ./InvoiceItemNotesForm.h \     ./InvoiceItemSqlModel.h \     ./InvoiceModel.h \     ./InvoicePriceListSqlModel.h \     ./InvoicePrintDialog.h \     ./InvoiceProcessor.h \     ./InvoiceSqlModel.h \     ./LogBrowser.h \     ./LogBrowserDialog.h \     ./OptionForm.h \     ./PaymentTypeModel.h \     ./PriceListDelegate.h \     ./PriceListItemDelegate.h \     ./PriceListItemSqlModel.h \     ./PriceListMgrForm.h \     ./PrintingCfg.h \     ./PrintingCfgFactory.h \     ./ProductMgrForm.h \     ./ProductSqlModel.h \     ./ReportFactory.h \     ./ReportForm.h \     ./ReportInvoiceFactory.h \     ./RIFOrderItemModel.h \     ./SalesCenterHttpClient.h \     ./stdafx.h \     ./SystemSettings.h \     ./TaxCalculator.h SOURCES += ./aboutform.cpp \     ./Action2TakeModel.cpp \     ./CustomerMdiChild.cpp \     ./CustomerSqlModel.cpp \     ./DBManager.cpp \     ./EventPriceListMgrForm.cpp \     ./EventPriceListSqlModel.cpp \     ./FavoriteCenter.cpp \     ./FavoriteCustomerSqlModel.cpp \     ./FavoriteDialog.cpp \     ./FavoriteImageData.cpp \     ./FavoriteImageModel.cpp \     ./FavoriteMgrWindow.cpp \     ./GeneralUtils.cpp \     ./ImageManager.cpp \     ./InvoiceCenter.cpp \     ./InvoiceCenterSqlModel.cpp \     ./InvoiceEditorDelegate.cpp \     ./InvoiceEditorForm.cpp \     ./InvoiceImageMgr.cpp \     ./InvoiceItemDelegate.cpp \     ./InvoiceItemNotesForm.cpp \     ./InvoiceItemSqlModell.cpp \     ./InvoiceModel.cpp \     ./InvoicePriceListSqlModel.cpp \     ./InvoicePrintDialog.cpp \     ./InvoiceProcessor.cpp \     ./InvoiceSqlModel.cpp \     ./LogBrowser.cpp \     ./LogBrowserDialog.cpp \     ./main.cpp \     ./OptionForm.cpp \     ./PaymentTypeModel.cpp \     ./PriceListDelegate.cpp \     ./PriceListItemDelegate.cpp \     ./PriceListItemSqlModel.cpp \     ./PriceListMgrForm.cpp \     ./PrintingCfg.cpp \     ./PrintingCfgFactory.cpp \     ./ProductMgrForm.cpp \     ./ProductSqlModel.cpp \     ./ReportFactory.cpp \     ./ReportForm.cpp \     ./ReportInvoiceFactory.cpp \     ./RIFOrderItemModel.cpp \     ./SalesCenterHttpClient.cpp \     ./stdafx.cpp \     ./SystemSettings.cpp FORMS += ./aboutform.ui \     ./CustomerMdiChild.ui \     ./EventPriceListMgrForm.ui \     ./FavoriteCenter.ui \     ./FavoriteDialog.ui \     ./FavoriteMgrWindow.ui \     ./InvoiceCenter.ui \     ./InvoiceEditorForm.ui \     ./InvoiceItemNotesForm.ui \     ./InvoicePrintDialog.ui \     ./OptionForm.ui \     ./PriceListMgrForm.ui \     ./ProductMgrForm.ui \     ./ReportForm.ui RESOURCES += ncreport/preview.qrc \     salescenter.qrc

Viewing all articles
Browse latest Browse all 22112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>