Summary

Title:Nightly 0-0-3-17234 plugin not showing in R19/R20
Category:Crash/Critical
Status:Fixed
Posted By:Rectro ( Daniel Ripley )
Date Created:7 October 2018

Problem

Description:

In Nightly build 0-0-3-17234  the plugin is not loading in R19/r20  windows 64x

Steps to Reproduce:

Normal install.

I comfirm

Debug console:

This application failed to start because it could not find or load the Qt platform plugin "windows"in "". Reinstalling the application may fix this problem.

I remember "war" of Scott Ayers with QT for C4d and maxon dev.team

We're adding in Qt but we'll also have an installer to place it correctly soon.

Marsel Khadiyev (Software Developer, EPHERE Inc.)

Resolved

I put dir platforms with qwindows.dll to root with "c4d.exe"


Attached Files:
Image 1

I don't quite understand what's the problem. Indeed, the plugin now depends on 3 Qt libraries, which are included in the .7z and the Readme now mentions that these need to be copied to the Cinema 4D root directory, along with tbb.dll.

I tested once more with R19 and it works.

What is "qwindows.dll"? It is not one of our dependencies, and I don't know any of the Qt libraries to be called like that.

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev

Hello Ivan

When i started developing of plug-in, i switch on debug console, show more info about enviroment of c4d.

about qwindows.dll, sorry for Russian content  - qt-5-platform-plugin-windows

and one of my topics at maxon dev.network - plugincafe.com

I understand now, thank you for the pointers (I can read Russian).

The problem didn't happen on my dev machine because I have Qt installed.

Fixed in the next build (17246+), already up. Mac build has loading problems too, will be ready a bit later.

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev

Currently install last build 17247 and plugin is not loaded in R19,R20,R20Demo. Not any info in console.

 (need to mention build 17225 works for me everywhere)

 

Update,

For R19 currently works fine (wasn´t copied quicktime libraries into c4d install folder)

For R20Demo at startup get error and freeze c4d

In R20 c4d strats normally, but in plugins list appear as R20 with blank space. When clicking on it, 2 white wheel icons appear. Clicking on them will display welcome screen without icon and empty grooms vindow

 

 


Attached Files:
Image 1Image 2Image 3Image 4Image 5

Lubo

Try to put platforms dir in qt-plugins to root of c4d and Qt5Core.dll Qt5Gui.dll Qt5Widgets.dll


or try to clean files directorycache and symbolcache in user directory in prefs ... c4d stores a few data in it


Attached Files:
Image 1

Hi Ilay,

Thank you very much for the tips. For R20Demo was help adding just folder platforms into root directory instead of qt-plugins folder.

For R20 this tip don´t work until plugin was replaced to preference plugin folder. I has plugin in root directory in "Plugin" folder. (Path was adjusted in Preferences/Plugin option)

 

...but don´t know why it works in R19 (I mean qt-plugins folder inside root instead of "platforms folder

I made more changes to Qt deployment. Please try the latest build 17259 which is now up.

The Qt plugin search paths set by Ornatrix are:

<CINEMA 4D Root>/plugins/Ornatrix/qt-plugins
<CINEMA 4D Root>

(tested on Windows, Mac should be the same)

The "platforms" directory must exist in one of these. It is provided under qt-plugins, there should be no need to move or copy it anywhere else (moving it under C4D root should also work, but there's no point to do that)

The blank menu entry sounds like missing resources, which implies other deployment errors, not just with Qt files. Once we have an installer it will automate the process and errors should be much less likely (and easier to diagnose using the installation log).

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev

And there are no reasons for any differences in deployment behavior between the demo and commercial C4D versions. I tested with R19 Demo here just in case.

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev

Yes, with latest build17259 works fine everything. qt* and tbb libraries in root, Ornatrix inside root plugins folder...nothing more

Tested in R19,R20,R20Demo

 

To Ilay,

Can you re-post temporary your script files again? I missed to copy/paste to script manager...

Hello to all

Ivan, thank you!

 

Thank you Ilay, got it.

nvm