views:

1279

answers:

4

I have made custom widget plugin, which is recognized and visible in Qt designer, but Qt creator and Qt eclipse integration doesn't show it.

Does anyone have ideas how to solve this problem?

A: 

My guess is that Qt Creator and the Qt Eclipse integration have different versions of designer that they use. (I know this is the case for Creator.) Since they are using different designer applications, they are probably also looking in a different location for the plugins than does the standard Designer program. My first suggestion would be to try to find where that location is, and copy your plugin there.

If the copied plugin doesn't work, you probably have somewhat incompatible versions of designer for one or the other. That will take a bit more research, but could likely be overcome with a bit more research.

Caleb Huitt - cjhuitt
A: 

Yeah sweet im having same problem and I realised as i was doing some tests that removing and adding back the dynamic library only influenced Qt designer and not Qt creator's form editor. So where is that path and can I even add it or is it somehow in the binary?

yan bellavance
A: 

I want to thank the asker and both responders for helping me figure this out (and also curse Nokia for not making this work right out of the box - the first two days of my Qt developer experience was Googling pieces of the answer).

First, creator does look elsewhere - at C:\Qt\bin\designer in Windows (should be .../bin/designer in Linux - do a 'find . -name libqwebview.so').

Second, there is a likely incompatibility issue on Windows, because QtCreator compiles plugins with mingw, and QtCreator is likely compiled with Visual Studio. The fix is to compile QtCreator with mingw.

ctd
A: 

So how does one compile QTCreator with mingw?

lvw