Hi Darya,
building Qt with webkit involves quite a lot of pain (installing Ruby,
ActiveTCL, ICU, etc. and setting up the environment correctly). I used
to do that for quite a while - the installer didn't work for me either
when using Qt 5.3 and I haven't tried it since then.
Here are my notes for building qt with webkit and openssl:
Download ICU: http://www.npcglib.org/~stathis/blog/precompiled-icu/
<http://www.npcglib.org/%7Estathis/blog/precompiled-icu/>
Download OpenSSL:
http://www.npcglib.org/~stathis/blog/precompiled-openssl/
<http://www.npcglib.org/%7Estathis/blog/precompiled-openssl/>
Download and install ActivePerl http://www.activestate.com/activeperl
Download and install Ruby http://rubyinstaller.org/
Download and install Python 2.x https://www.python.org/
Download jom and put into 5.4.1-src folder
http://download.qt.io/official_releases/jom/jom.zip
Open "VS2013 x64 Native Tools Command Prompt" (Windows main menu ->
Visual Studio 2013 -> Visual Studio Tools)
cd t:\Qt\5.4.1-src
set
PATH=%PATH%;t:\Qt\5.4.1-src\gnuwin32\bin;c:\Python27\;c:\Perl64\bin\;c:\Ruby21-x64\bin\;t:\Qt\icu-55.1-vs2013\bin64;t:\Qt\openssl-1.0.1m-vs2013\bin64
set LIB=%LIB%;t:\Qt\icu-55.1-vs2013\lib64;t:\Qt\openssl-1.0.1m-vs2013\lib64
set
INCLUDE=%INCLUDE%;t:\Qt\icu-55.1-vs2013\include;t:\Qt\openssl-1.0.1m-vs2013\include
configure -icu -openssl -opengl desktop -nomake examples -nomake tests
-c++11 -confirm-license -mp -opensource -prefixt:\Qt\5.4.1-install
<file:///t:/Qt/5.4.1-install> -platform win32-msvc2013
jom
jom install
// Copy icu and openssl dlls to t:\Qt\5.4.1-install
<file:///t:/Qt/5.4.1-install>\bin folder
Hope this helps,
Rostislav.
On 27/05/2015 10:04, Darya Yelshyna wrote:
Hello!
Thank you very much for your reply. Initially I used the installer for
Qt, but encountered lots of problems when trying to follow tutorial
steps (missing package configuration files). Since the documentation
suggests to compile Qt using Visual Studio, I followed the described
steps and built it. Now I can't build MITK with cmake. Should I
reinstall everything again?
Best regards,
Darya
On Wed, May 27, 2015 at 8:32 AM, Kislinskiy, Stefan
<[email protected]
<mailto:[email protected]>> wrote:
Hello Darya,
by installing Qt 5 with the official online installer, QtWebKit
should be installed as well unless you unchecked it explicitly?
Your path to Qt also looks suspicious as between "5.4.1" and "lib"
I would expect a folder like "msvc2013" or something similar
unless you changed that explicitly as well.
Best,
Stefan
________________________________________
Von: Darya Yelshyna [[email protected]
<mailto:[email protected]>]
Gesendet: Dienstag, 26. Mai 2015 23:04
An: [email protected]
<mailto:[email protected]>
Betreff: [mitk-users] Build MITK with cmake on Windows
Hello everyone!
I am new to MITK and i'm having problems building it with
cmake-gui on Windows. The error I get is the following:
CMake Error at C:/Qt/5.4.1/lib/cmake/Qt5/Qt5Config.cmake:26
(find_package):
Could not find a package configuration file provided by
"Qt5WebKitWidgets"
with any of the following names:
Qt5WebKitWidgetsConfig.cmake
qt5webkitwidgets-config.cmake
Add the installation prefix of "Qt5WebKitWidgets" to
CMAKE_PREFIX_PATH or
set "Qt5WebKitWidgets_DIR" to a directory containing one of the above
files. If "Qt5WebKitWidgets" provides a separate development
package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:226 (find_package)
Is it a configuration problem or should I install Webkit?
Thank you in advance.
Cheers,
Darya
------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users
------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users