Skip to main content
clintwestwood
Inspiring
October 14, 2021
Question

Plug-in failed to be loaded in Illustrator 2022

  • October 14, 2021
  • 2 replies
  • 370 views

Hi

 

I'm trying to prepare my plug-in to support Illustrator 2022.

For that, I use the SDK CC 2022

 

When I'm using the plug-in EmptyPanel provided in the examples, this plug-in is correctly loaded in Illustrator.
But when I'm adding  Qt 6.2 with only QtCore and make a simple qDebug() << "Hello World", it fails to load it. It displays a message into Illustrator that there is an error when loading the plug-in.

In the console, it complains that it cannot find QtCore, but I have correctly copy it into Frameworks folder of the plug-in. I even copy it into the MacOS folder. I have also checked the install name.

It is also correct @rpath/QtCore.framework/Versions/A/QtCore

 

I have also added in the Info.pList the following entry to authorize loading external libraries 

<key>com.apple.security.cs.disable-library-validation</key>
<true/>

 

What am I missing ? Is there any additional requirements about loading external libraries ?

2 replies

clintwestwood
Inspiring
November 2, 2021

I have updated my Illustrator beta to the final customer version and also the sdk.  But I still have the issue.

In the SDK, I looked if there is something to help me about my issue. But there is nothing.

They is nothing about handling loading external libraries or dealing with  code signatures  on the plugin or libraries

 

Can someone help me ? It seems that Illustrator prevents loading external libraries from the plug-in.

Inspiring
September 22, 2025

Hi @clintwestwood , I am facing the same issue now. Did you find any solution for this? I followed the same steps that you did: took the EmptyPanel project and built it. The plugin loads fine without any issues. Then I added the line "_myQtApp = new QApplication(argc, nullptr, 1);" in the EmptyPanelPlugin::StartupPlugin function and added the Qt frameworks to resolve the errors. However, this time the plugin fails to load.

I have tried the two steps below, but still no luck.
1.  Execute macdeployqt command

2. Execute install_name_tool -add_rpath "@loader_path/../Frameworks" "/Users/xactai/Desktop/SDK/samplecode/output/mac/debug/EmptyPanel.aip/Contents/MacOS/EmptyPanel" command

Below are my development environment settings:
MacBook Pro
Chip: Apple M1 Pro
macOS Sequoia 15.6
Xcode 26.0

Qt6.2
Adobe Illustrator 2025, Version 29.8.1

Could you please let me know how you fixed the issue? Thanks in advance!

clintwestwood
Inspiring
October 20, 2021

Any advices ?