Hi,

I found a preliminary solution to my problem. I was misleaded by
Qt5Quick.dll. The DLL that was necessary is qtquick2plugind.dll. The
solution to my problem was to copy PATH_TO_YOUR_QT/qml/QtQuick.2 into
SUPERBUILD_PATH\MITK-build\bin\Debug.

Best regards

Martin

On 05.08.2014 15:35, Martin Klemm wrote:
> Hello everyone,
> 
> I am currently trying to run the QuickRender example under Windows 7
> with Visual Studio 2013 and Qt 5.3.1. I checked out the latest MITK
> commit yesterday ( c825b90 ) which did not compile directly with this
> configuration. I had to change several things until it worked:
> 
> 1. Change the Geometry2DDataMapper2D class to PlaneGeometryDataMapper2D
> 
> 2. Then I had problems to compile the QxtWeb module but since no other
> module is really using it I just excluded it from the build. (remove it
> in CMakeExternals/QxtCMakeLists.txt)
> 
> 3. Configure CMake as described in the ReadMe of the QuickRender example
> => Build superbuild => Open MITK_BUILD project. In
> MitkQuickRender->Properties->Linker/Input->Additional Dependencies it is
> written "Qt5::Widgets.lib" which is not a valid name and therefor cannot
> be found. So far I could not locate its origin but changing it to
> PATH_TO_YOUR_QT/libs/Qt5Widgetsd.lib worked ( Maybe it comes from
> QxtCmakeLists.txt because there this syntax is used).
> 
> 4. Copy PATH_TO_YOUR_QT/plugins/platforms into
> SUPERBUILD_PATH\MITK-build\bin\Debug. I tried to add the platforms path
> to the PATH but the QuickRender example did not find it. (Is there a
> proper way to do that?)
> 
> 5. In MITK_BUILD/bin there is a bat file called
> MitkQuickRender_debug.bat which I adapted by adding PATH_TO_YOUR_QT\bin
> to the PATH variable and adding debug\MitkQuickRender.exe
> NRRD/Pic3D.nrrd to the line below.
> 
> => Now the QuickRender example should be able to start. But it just runs
> until the point where it tries to open the QML file:
> 
> QQuickView view;
> view.setSource(QUrl("qrc:///MITK/Examples/QuickRender/QuickRender.qml"));
> 
> After this call I get the following error:
> ...
> qrc:///MITK/Examples/QuickRender/QuickRender.qml:1:1: module "QtQuick"
> is not installed
> 
> Do you know how to "install" it in such way that this works? Adding the
> path to Qt5Quick.dll to the PATH variable did not help, neither copying
> this dll directly into the MITK_BUILD/bin/Debug folder.
> 
> Best regards,
> 
> Martin
> 
> 
> 

-- 


Martin Klemm
Hochschule Offenburg
Badstraße 24
77652 Offenburg
Tel. +49 781 / 205 - 4681

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.22 (MingW32)

mQENBFLmUekBCACp46Wgg+gXLpnQYlGjRS0jBVWmL+9boonSl+Imp//bJ2I9XYxE
CJJvjQM9a2W8OZoFDY4gGieDqk2JigGWoEPoXrMJh7RjaRppmWkM5EufXmLiO0Yw
vsjo22PFZPCVs6TohgboQleV8Dy1BxEUjpzaesy1x+2sE/fNKm8hAYzaLsSlwy6Y
s/g9/o8PRmm5miqakUPV3o2jy4VimGliD7FNlns6P2ePwu2mLL5iR+mqF6oUwRA2
rDjtKQZSJgyaHfdi3YcOlQXnnmT0JKcguoE1B7Xs8tYRXU2vEw2ObuF+FeksH2iM
ChqNWMSmgVQNiQEYtEfz+mq4iviYuzlaBxirABEBAAG0K01hcnRpbiBLbGVtbSA8
bWFydGluLmtsZW1tQGhzLW9mZmVuYnVyZy5kZT6JAT8EEwECACkFAlLmUekCGyMF
CQlmAYAHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRC2Jqc/SGZiKevQB/96
Fjw+45qnyJng7mN5e4IUVKPz5VqLD1rnEWBd0bL5uiL3OcXk7lyaeFD1Sx3TlvDL
QXHbaBh4D13S38j75h0UJoV7ccKkP4SiObzzBpaIP0LKrgddTDBMUaLNpkIkPTol
CyYtLF9Lyrs262TABgQfU/u2K8USVZmUrMh2nR1YDI6BDhyUnXn7ZQ6gasY8F8gv
LvKghox52Wsw9cui8ATwIZoKV46X7FrhMX+G6nmJ11Cu1/i1bVUbN8bzlrjoWGnQ
TFi4M1H7z1/CSUmkCrNuHtTg1YBnP1TI0aBSBgUsJB+SbGm4B0QTZTnYA42DVPZD
YlhtoigOoUhhCgdeKXEcuQENBFLmUekBCADURioNxPq/foCkuXnSf4VbxvF0DDZ7
pO18dW55AzVvlSKWrahx71xgnP52xKn0EEuuqTZYfY3RzHimeGXqOCbEWkk6eFkt
Sg/fMH4utD6KV+ewGb1mlRUEZgiwxbQyb+dlM1j9GmTNlr5/8VcMS5lNqCqgu59P
P59ThEGwufSeLMBf4eCidltWdh9fjqZwYnz6Y8ASjJGVgf12i2P8Mpbx7QHYecHt
nnvj4x8t9yw9h1QPdfvTIFvqp0L2MDdeAdnFhMPhNHY7RtudLuQlLDIGFqPGScJQ
EKiH3Upc9HADUO4vh6mT6OzOWhLu6cwu1XCmh74sKD+UblgOG/fd7AhDABEBAAGJ
ASUEGAECAA8FAlLmUekCGwwFCQlmAYAACgkQtianP0hmYim/JggAlcwN5b/qBObo
65/GMIX4VXb+f6/U7F6tc/KOFyypWYN6aJ3StwBbkFfeEd2ZeuTmMNyG49rxBUpl
z9JcEB27YPYGGh1aJWeVDpqSV6VMTSnJC+Dlsm1eAktpWhTCgs9yeh2RY+HWfIil
XR97+TiaznySTNqVs94zX7ynBg1Tjh+tZJgU8HUXAsuWQACWrmKHVH+ggSaBePmH
5em0wBkQD+VxYlVe00lNRnJvBtP0cRys4mRDWJYJb6mlDxQ8nv8krsDT6lUeRsYU
ct8cU8YCERNyAJ+bH2y14ymer1k+vhZaHc5Fwrj9Jwbs1YVLpOZeaX66kDdkfWbR
tjzbWAp3EQ==
=6Xht
-----END PGP PUBLIC KEY BLOCK-----

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to