Dan O
Dan O

Reputation: 4450

QTCreator's integrated form editor won't load custom widget plugins (Designer does)

Trying to use the form editor that is integrated into QTCreator, but even when I place my plugin into QtCreator.app/Contents/MacOS/designer it doesn't show up. The same dylib file does work with the standalone designer app, though.

QTCreator version info: QTCreator 1.1.0 (Based on QT Version 4.5.1) Designer version info: Version 4.5.1

Any hints? This webpage: http://labs.trolltech.com/page/Projects/Tools/QtCreator/FAQ, suggested that I have a versioning problem, but that seems nutty as I'm using "pure" 4.5 (clean install and all that)...

Upvotes: 3

Views: 2394

Answers (2)

bkausbk
bkausbk

Reputation: 2790

In QT 4.7, QT Designer plugins should be copied to /qt-install-dir/plugins/designer. Please note, plugins should be created as release not debug!

Upvotes: 0

Henrik Hartz
Henrik Hartz

Reputation: 3675

Have you made the linker references for the plugin correct? Try

otool -L /path/to/plugin/dylib

on the plugin binary and see if it's able to reference the Qt libs correctly assuming @executable_path is the designer binary

Upvotes: 1

Related Questions