qt-interest@trolltech.com
[Top] [All Lists]

Re: [Qt-interest] QVTK weird linking problem

Subject: Re: [Qt-interest] QVTK weird linking problem
From: "Malyushytsky, Alex"
Date: Fri, 13 Feb 2009 13:29:09 -0800
QVTK has being developed as part of VTK,
the good place to get help about it is VTK mailing list.

In general such error appears if you did not list appropriate lib in your 
object dependencies.
I know little about VTK,  but if I am not mistaken you need activate QT support 
there.
If you did not do it you will have similar problem even you listed all possible 
libs.


Best regards,
            Alex Malyushytsky


________________________________________
From: qt-interest-bounces@xxxxxxxxxxxxx 
[mailto:qt-interest-bounces@xxxxxxxxxxxxx] On Behalf Of Giancarlo Amati
Sent: Friday, February 13, 2009 4:08 AM
To: vtkusers@xxxxxxx; qt-interest@xxxxxxxxxxxxx
Subject: [Qt-interest] QVTK weird linking problem


Good morning,
sorry for sending this mail twice but not sure which group is better. Anyway 
compiled the VTK with the option for QT enabled producing the QVTK.lib that I 
link in my program where I
insert a QVTKWidget.
So, as I'm programming in Visual Studio 2005 I added that LIB file in the 
sequece of LIBs in the linking properties.
So, this problem remarks that It cant link SetRenderWindow.....and I can't 
understand why, any suggestions is really appreciated!

1>------ Build started: Project: dioramaQT, Configuration: Debug Win32 ------
1>Linking...

1>main.obj : error LNK2019: unresolved external symbol "public: void __thiscall 
QVTKWidget::SetRenderWindow(class vtkRenderWindow *)" 
(?SetRenderWindow@QVTKWidget@@QAEXPAVvtkRenderWindow@@@Z) referenced in 
function _main

1>C:\KCLSoftware\DIORAMAQT\dioramaQT\Debug\dioramaQT.exe : fatal error LNK1120: 
1 unresolved externals
1>Build log was saved at 
"file://c:\KCLSoftware\DIORAMAQT\dioramaQT\Debug\BuildLog.htm"
1>dioramaQT - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Many Thanks
Giancarlo
________________________________________
Scopri le novità! Più veloce, più tua, più Hotmail.


---------------------------------------------------------------------------------------------------
Weidlinger Associates, Inc. made the following annotations.

"This message and any attachments are solely for the intended recipient and may 
contain confidential or privileged information. If you are not the intended 
recipient, any disclosure, copying, use, or distribution of the information 
included in this message and any attachments is prohibited. If you have 
received this communication in error, please notify us by reply e-mail and 
immediately and permanently delete this message and any attachments. Thank you."

"Please consider our environment before printing this email."

_______________________________________________
Qt-interest mailing list
Qt-interest@xxxxxxxxxxxxx
http://lists.trolltech.com/mailman/listinfo/qt-interest

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Qt-interest] QVTK weird linking problem, Malyushytsky, Alex <=