Search found 11 matches

by hhenson
Sun Jan 09 2022 8:05 pm
Forum: User Support
Topic: Copper Spice on M1 Mac
Replies: 22
Views: 23313

Re: Copper Spice on M1 Mac

I had done the ninja install on the main library and I can see the CsGuiCocoa1.7.so in /usr/local/lib. Trying to do something similar for kitchen sink I can say that install is not correct, it tries to install /usr/local/../MacOs which fails. I will try and fiddle with the installation to see if I c...
by hhenson
Sat Jan 08 2022 9:04 pm
Forum: User Support
Topic: Copper Spice on M1 Mac
Replies: 22
Views: 23313

Re: Copper Spice on M1 Mac

I can build the kitchen sink application, but it fails to run:

./kitchensink
The application failed to start because the platform plugin was not found or did not load.
Requested Plugin Key: "cocoa"

Reinstalling the application may resolve this problem.
by hhenson
Sat Jan 08 2022 7:33 pm
Forum: User Support
Topic: Copper Spice on M1 Mac
Replies: 22
Views: 23313

Re: Copper Spice on M1 Mac

I have managed to compile the complete suite now, I needed to make one other change (which did not make sense), namely: I needed to comment out the check around the include for unistd.h in src/3rdparty/freetype/src/builds/unix/ftsystem.c as for some reason, even though cmake correctly identifies the...
by hhenson
Sat Jan 08 2022 5:48 pm
Forum: User Support
Topic: Copper Spice on M1 Mac
Replies: 22
Views: 23313

Re: Copper Spice on M1 Mac

I have a fix (at least a partial fix if not fully correct, updated to make most to compile) Index: src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =======================================================...
by hhenson
Sat Jan 08 2022 4:37 pm
Forum: User Support
Topic: Copper Spice on M1 Mac
Replies: 22
Views: 23313

Re: Copper Spice on M1 Mac

Checked out the latest version of code a few minutes ago, done the following: mkdir build cd build cmake .. -G Ninja ninja I have hit two failures already: [13/3530] Building CXX object src/webk...ebCoreSupport/QtFallbackWebPopup.cpp.o FAILED: src/webkit/CMakeFiles/CsWebKit.dir/__/3rdparty/webkit/So...
by hhenson
Thu Jun 10 2021 6:58 am
Forum: User Support
Topic: Copper Spice on M1 Mac
Replies: 22
Views: 23313

Re: Copper Spice on M1 Mac

No problem, there is still one problem with the scripting (if I remember correctly) where it is not correctly picking out the fact that the processor is 64 bit and as such is trying to cast pointers to 32 bit handles. I have not had a chance to figure out where to correct this exactly. I may have so...
by hhenson
Mon May 31 2021 1:26 pm
Forum: User Support
Topic: Copper Spice on M1 Mac
Replies: 22
Views: 23313

Re: Copper Spice on M1 Mac

Last change to image.cmake

${CMAKE_SOURCE_DIR}/src/3rdparty/libpng/arm/arm_init.c
${CMAKE_SOURCE_DIR}/src/3rdparty/libpng/arm/filter_neon.S
${CMAKE_SOURCE_DIR}/src/3rdparty/libpng/arm/filter_neon_intrinsics.c

This seems to let me compile the code.
by hhenson
Mon May 31 2021 12:49 pm
Forum: User Support
Topic: Copper Spice on M1 Mac
Replies: 22
Views: 23313

Re: Copper Spice on M1 Mac

Have been trying to chase the last errors down. There are the changes I have needed to make so far: The suggestion you made plus a bit more in qglobal.h: # elif 1 #define Q_PROCESSOR_ARM 8 #define Q_PROCESSOR_ARM_64 #define QT_HAVE_NEON in painting.cmake ${CMAKE_CURRENT_SOURCE_DIR}/painting/qdrawhel...
by hhenson
Mon May 31 2021 9:55 am
Forum: User Support
Topic: Copper Spice on M1 Mac
Replies: 22
Views: 23313

Re: Copper Spice on M1 Mac

After a bit of investigation, I discovered that the file: src/gui/painting/qdrawhelper_neon_p.h:28. has #ifdef QT_HAVE_NEON but that does not appear to be found anywhere else in the source code, so I have changed that to: #ifdef __ARM_NEON__ That seems to have gotten the code to compile, but now I s...
by hhenson
Mon May 31 2021 8:39 am
Forum: User Support
Topic: Copper Spice on M1 Mac
Replies: 22
Views: 23313

Re: Copper Spice on M1 Mac

OK, so the new define helps getting the compile started, but now I have the following error: FAILED: src/gui/CMakeFiles/CsGui.dir/painting/qdrawhelper.cpp.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ @src/gui/CMakeFiles/CsGui.dir/painting/qdrawhelper.c...