Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qt #8

Open
nelsonic opened this issue Apr 12, 2023 · 11 comments
Open

Qt #8

nelsonic opened this issue Apr 12, 2023 · 11 comments
Assignees
Labels
enhancement New feature or request

Comments

@nelsonic
Copy link
Member

To resolve yorikvanhavre/BIM_Workbench#108 I need to install and run Qt: https://www.qt.io/download-qt-installer-oss

After downloading the .app from qt.io:

image

macOS prompts us if we want to open the app:

image

@nelsonic nelsonic added the enhancement New feature or request label Apr 12, 2023
@nelsonic
Copy link
Member Author

Welcome to the Qt installer:

image

Had to register for an account:

image

Had to verify email address:

image

Then taken to a page with upsell:

image

@nelsonic
Copy link
Member Author

Now I'm allowed to proceed:

image

Taking some time to doanload:

image

No thanks to usage stats:

image

The default appears to be "Custom Installation":
image

Asking the FreeCAD Devs what the required install is: yorikvanhavre/BIM_Workbench#108 (comment)

@nelsonic
Copy link
Member Author

Tried following the instructions for compiling on macOs: https://wiki.freecad.org/Compile_on_MacOS

got the following error:

==> Installing freecad/freecad/[email protected] dependency: freecad/freecad/med-file
==> Patching
==> Applying hdf5-1.12.patch
patching file 'config/cmake_files/medMacros.cmake'
patching file 'src/ci/MEDfileCompatibility.c'
patching file 'src/hdfi/_MEDattributeNumWrByName.c'
patching file 'src/hdfi/_MEDattributeNumWr.c'
patching file 'src/hdfi/_MEDcheckAttributeStringFunc.c'
patching file 'src/hdfi/_MEDchecknSublinkFunc.c'
patching file 'src/hdfi/_MEDdatagroupExist.c'
patching file 'src/hdfi/_MEDdatasetExist.c'
patching file 'src/hdfi/_MEDfileCreate.c'
patching file 'src/hdfi/_MEDfileOpen.c'
patching file 'src/hdfi/_MEDlinkObjs.c'
patching file 'src/hdfi/_MEDmemFileOpen.c'
patching file 'src/hdfi/_MEDparFileCreate.c'
patching file 'src/hdfi/_MEDparFileOpen.c'
patching file 'tools/medimport/2.3.6/_MEDconvertStringDatasets.c'
==> cmake .. -DMEDFILE_BUILD_PYTHON=ON -DMEDFILE_BUILD_TESTS=OFF -DMEDFILE_INSTALL_DOC=OFF -DCMAKE_PREFIX_PATH=/opt/homebrew/opt/hdf5/lib;/opt/homebrew/opt/gcc/lib -DCMAKE_INSTAL
==> make
Last 15 lines from /Users/n/Library/Logs/Homebrew/[email protected]/02.make:
make[1]: *** [python/CMakeFiles/_medfamily.dir/all] Error 2
[ 96%] Built target medimportengine
[ 96%] Linking C executable mdump4
cd /tmp/med-fileA4.1.1-20230413-31941-1i3rdjh/med-4.1.1_SRC/build/tools/mdump && /opt/homebrew/Cellar/cmake/3.26.3/bin/cmake -E cmake_link_script CMakeFiles/mdump4.dir/link.txt --verbose=1
[ 96%] Linking C executable mdump2
/opt/homebrew/Library/Homebrew/shims/mac/super/clang -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/mdump4.dir/mdump4.c.o CMakeFiles/mdump4.dir/MED23meshIterators.c.o CMakeFiles/mdump4.dir/MED23fieldIterators.c.o -o mdump4  -Wl,-rpath,/tmp/med-fileA4.1.1-20230413-31941-1i3rdjh/med-4.1.1_SRC/build/src ../../src/libmedC.11.1.1.dylib /opt/homebrew/opt/hdf5/lib/libhdf5.dylib /opt/homebrew/lib/libsz.dylib /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib/libz.tbd /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib/libdl.tbd /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib/libm.tbd
cd /tmp/med-fileA4.1.1-20230413-31941-1i3rdjh/med-4.1.1_SRC/build/tools/mdump && /opt/homebrew/Cellar/cmake/3.26.3/bin/cmake -E cmake_link_script CMakeFiles/mdump2.dir/link.txt --verbose=1
/opt/homebrew/Library/Homebrew/shims/mac/super/clang -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/mdump2.dir/mdump2.c.o CMakeFiles/mdump2.dir/MED23meshIterators.c.o CMakeFiles/mdump2.dir/MED23fieldIterators.c.o -o mdump2  -Wl,-rpath,/tmp/med-fileA4.1.1-20230413-31941-1i3rdjh/med-4.1.1_SRC/build/src ../../src/libmedC.11.1.1.dylib /opt/homebrew/opt/hdf5/lib/libhdf5.dylib /opt/homebrew/lib/libsz.dylib /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib/libz.tbd /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib/libdl.tbd /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib/libm.tbd
[ 96%] Linking C executable mdump3
cd /tmp/med-fileA4.1.1-20230413-31941-1i3rdjh/med-4.1.1_SRC/build/tools/mdump && /opt/homebrew/Cellar/cmake/3.26.3/bin/cmake -E cmake_link_script CMakeFiles/mdump3.dir/link.txt --verbose=1
/opt/homebrew/Library/Homebrew/shims/mac/super/clang -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/mdump3.dir/mdump3.c.o CMakeFiles/mdump3.dir/MED23meshIterators.c.o CMakeFiles/mdump3.dir/MED23fieldIterators.c.o -o mdump3  -Wl,-rpath,/tmp/med-fileA4.1.1-20230413-31941-1i3rdjh/med-4.1.1_SRC/build/src ../../src/libmedC.11.1.1.dylib /opt/homebrew/opt/hdf5/lib/libhdf5.dylib /opt/homebrew/lib/libsz.dylib /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib/libz.tbd /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib/libdl.tbd /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib/libm.tbd
[ 96%] Built target mdump4
[ 96%] Built target mdump2
[ 96%] Built target mdump3
make: *** [all] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/freecad/homebrew-freecad/issues

These open issues may also help:
installing 0.20.1 on Apple M1 (errors installing [email protected]) https://github.com/FreeCAD/homebrew-freecad/issues/374

@nelsonic
Copy link
Member Author

image

@nelsonic
Copy link
Member Author

Installation will use 32.38 GB of disk space ...

image

This is an insane amount of disk space!! 🤯
I have the space on my current mac. 🙄
But I will probably uninstall this when no longer needed because it's absurd! 👎

@nelsonic
Copy link
Member Author

Downloading: ⏳

image

@nelsonic
Copy link
Member Author

54 minutes remaining indeed ...

image

This will take forever to download!! ⏳

@nelsonic
Copy link
Member Author

Issue: FreeCAD/homebrew-freecad#374 still unresolved.

@nelsonic
Copy link
Member Author

Eventually ...

image

The following README.txt popped up:

image

Welcome to Qt Creator:
image

I've quit it for now to focus on my work-work.
But will attempt to run the BIM-workbench once the work week is done. ⏳

@nelsonic nelsonic self-assigned this Apr 13, 2023
@nelsonic
Copy link
Member Author

Based on this comment: yorikvanhavre/BIM_Workbench#108 (comment) I'm re-installing Qt Design Studio:
image

But obvs it doesn't allow me to overwrite ...
image

So created a subdirectory:
image

@nelsonic
Copy link
Member Author

But how do I open Qt after it's installed? 🤷‍♂️

@github-project-automation github-project-automation bot moved this to More ToDo ThanCanEver Be Done in Nelson's List Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: More ToDo ThanCanEver Be Done
Development

No branches or pull requests

1 participant