<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Qt Creator with VS2010 toolchain: .obj file not found]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I want to try out Qt Creator with the VS2010 tool chain. I have a single .pro file, which should create an application. The project compiles just fine, but during linking, I get the error message:<br />
@<br />
QtnOfficePopupWindow.obj:-1: error: LNK2019: unresolved external symbol __imp__SHAppBarMessage@8 referenced in function "public: class QPoint __thiscall Qtitan::OfficePopupWindow::getPosition(void)const " (?getPosition@OfficePopupWindow@Qtitan@@QBE?AVQPoint@@XZ)@</p>
<p dir="auto">Or the "pretty" variant:<br />
@<br />
"File not found: QtnOfficePopupWindow.obj"@</p>
<p dir="auto">(I guess it's just the first object file the linker is trying to access)</p>
<p dir="auto">However, the object file is exactly where it should be, in the project's OBJECTS_DIR.<br />
Where else might the linker be looking?</p>
<p dir="auto">EDIT: Qt Creator 2.4.1 based on Qt SDK<br />
VS2010 toolchain added simply by referring to the qmake file in my (working) Qt_VS2010 build.</p>
<p dir="auto">EDIT2: Further info<br />
linker command line:<br />
@ link /LIBPATH:"c:\QtVS2010\4.8.0\lib" /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /MANIFEST /MANIFESTFILE:"./win32msvc2010_debug.obj\HipaseTool.intermediate.manifest" /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='<em>' processorArchitecture='</em>'" /OUT:win32msvc2010_debug\HipaseTool.exe <a class="plugin-mentions-user plugin-mentions-a" href="/user/c">@<bdi>C</bdi></a>:\Users\shy_schr\AppData\Local\Temp\HipaseTool.exe.6096.358.jom@</p>
<p dir="auto">.pro file:</p>
<p dir="auto">@TEMPLATE = app<br />
TARGET = HipaseTool<br />
QT += core gui network xml svg opengl<br />
CONFIG += debug<br />
DEFINES += QT_LARGEFILE_SUPPORT QTITAN_LIBRARY_STATIC QT_XML_LIB QT_SVG_LIB QT_NETWORK_LIB QT_OPENGL_LIB</p>
<p dir="auto">win32-g++ {<br />
HIPASEPLATFORM="win32gnu"<br />
}<br />
win32-msvc {<br />
HIPASEPLATFORM="win32msvc"<br />
}<br />
win32-msvc2010 {<br />
HIPASEPLATFORM="win32msvc2010"<br />
}</p>
<p dir="auto">CONFIG(debug, debug|release) {<br />
HIPASEPLATFORM = $$join(HIPASEPLATFORM,,"","_debug")<br />
} else {<br />
HIPASEPLATFORM = $$join(HIPASEPLATFORM,,"","_release")<br />
}</p>
<p dir="auto">DESTDIR = $$join(HIPASEPLATFORM,,"./",".bin")<br />
OBJECTS_DIR = $$join(HIPASEPLATFORM,,"./",".obj")<br />
MOC_DIR = $$join(HIPASEPLATFORM,,"./",".moc")<br />
RCC_DIR = $$join(HIPASEPLATFORM,,"./",".rcc")<br />
UI_HEADERS_DIR = $$join(HIPASEPLATFORM,,"./",".ui")<br />
UI_SOURCES_DIR = $$join(HIPASEPLATFORM,,"./",".ui")</p>
<p dir="auto">INCLUDEPATH += . <br />
./common/public/include <br />
./extern/qtitanribbon/include <br />
../../sourcen/tool/tfr/code</p>
<p dir="auto">LIBS += -lopengl32 <br />
-lglu32<br />
DEPENDPATH += .</p>
<p dir="auto">include(HipaseTool.pri)<br />
win32:RC_FILE = HipaseTool.rc@</p>
]]></description><link>https://forum.qt.io/topic/18252/qt-creator-with-vs2010-toolchain-obj-file-not-found</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Mar 2026 07:25:19 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/18252.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 13 Jul 2012 08:09:16 GMT</pubDate><ttl>60</ttl></channel></rss>