Could not find a package configuration file provided by "Qt5WebKitWidgets"

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
hu abel
Posts: 15
Joined: Wed Sep 09, 2015 4:40 pm

Could not find a package configuration file provided by "Qt5WebKitWidgets"

Post by hu abel » Thu Nov 09, 2017 9:56 am

Dear developer

the version SimVascular-2017-08-15-MacOSX-64bit get crash out in startup in MacOS High Sierra (10.13.1). so I try to build from source code then get next error info (installed Qt 5.9 by brew, in that version Qt no Qt5WebKitWidgets ) , so I want to know is there some plan to update Qt to high version in the near future?

CMake Error at /usr/local/opt/qt/lib/cmake/Qt5/Qt5Config.cmake:28 (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:115 (find_package)

Thanks!
Abel

User avatar
Adam Updegrove
Posts: 236
Joined: Fri Aug 30, 2013 4:11 pm

Re: Could not find a package configuration file provided by "Qt5WebKitWidgets"

Post by Adam Updegrove » Fri Nov 10, 2017 9:39 am

Hi Abel,

What is the error that you get when you try to start on 10.13?

In order to build from source, please install Qt (qt-opensource-mac-x64-clang-5.4.2.dmg) using the installer we have provided here: http://simvascular.stanford.edu/downloa ... sx/qt/5.4/

Please install to /usr/local/package
This will install all necessary Qt components. Then proceed as you have with attempting to build the package. Let me know if you have any questions.

Thanks!

SimVascular Development Team

User avatar
hu abel
Posts: 15
Joined: Wed Sep 09, 2015 4:40 pm

Re: Could not find a package configuration file provided by "Qt5WebKitWidgets"

Post by hu abel » Sun Nov 12, 2017 5:10 am

Hi Adam,

on 10.13, I clicked the icon of SimVascular, the icon jumping some times in Dock, and gone,
where can I get log about SimVascular, maybe I can get more information.

the source code build in 10.13, is great success, with your guide, thanks!
and next step I did:
$ cd SimVascular-build
$ ./sv
Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
Expected in: /Users/fire/fun/demox/sv3/SimVascular/build/Externals-build/sv_externals/bin/appleclang/8.1/x64/python-2.7.11/lib/libz.1.dylib
in /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
./sv: line 103: 2657 Abort trap: 6 $SV_HOME/bin/simvascular $SV_HOME/Tcl/SimVascular_2.0/simvascular_startup.tcl $*

is that I need to set some parameter?

Thanks!
Abel

User avatar
hu abel
Posts: 15
Joined: Wed Sep 09, 2015 4:40 pm

Re: Could not find a package configuration file provided by "Qt5WebKitWidgets"

Post by hu abel » Sun Nov 19, 2017 4:44 pm

Dear developer
maybe is OS problem, not the SimVascular, so I decide back to 10.12.6, and wait for OS update
Attachments
Screen Shot 2017-11-20 at 7.39.43 AM.png
Screen Shot 2017-11-20 at 7.39.43 AM.png (156 KiB) Viewed 3035 times

User avatar
Nathan Wilson
Posts: 46
Joined: Tue Jun 20, 2006 9:19 am

Re: Could not find a package configuration file provided by "Qt5WebKitWidgets"

Post by Nathan Wilson » Mon Nov 20, 2017 1:46 am

Hello Hu,

This error seems to be caused by a missing undocumented symbol in zlib:

ZEXTERN int ZEXPORT inflateValidate OF((z_streamp, int));

expected in /Applications/SimVascular.app/Contents/Resources/sv_externals/lib/libz.1.dylib

If you can replace this with a newer version of the zlib dynamic library, the code might work since zlib is a C-style interface so it should be binary compatible and not require recompilation of the SV code. I'm not sure if there is a built in system version of zlib available on MacOS, but you could try simply deleting the libz.1.dylib file and seeing if the code magically picks up a newer version of zlib provided by the OS.

Nathan
SimVascular Development Team

User avatar
hu abel
Posts: 15
Joined: Wed Sep 09, 2015 4:40 pm

Re: Could not find a package configuration file provided by "Qt5WebKitWidgets"

Post by hu abel » Mon Nov 20, 2017 6:33 am

Hello Nathan

under the directory "/Applications/SimVascular.app/Contents/Resources/sv_externals/lib" there is 2 version of libz
libz.1.2.8.dylib
libz.1.dylib
I just delete libz.1.dylib file, the SimVascular can work again.

Thanks in advance!

Hu

POST REPLY