That is most certainly your problem. In particular, for the plugins to
load they need to be compatible with the Qt version against which
Tiled was built, and I don't think a MinGW build of Qt is compatible
with an MSVC build of Qt. There should be an error about this btw, but
I guess it may not show up in Windows because it is simply written to
stdout (it would be nice if Tiled had a Plugins dialog that showed the
list of plugins and whether they were loaded successfully).
The Windows release of Tiled is built using the Qt SDK, probably using
the latest stable Qt version for MinGW. I would personally recommend
using the Qt SDK to install "mingw etc", then you can be quite sure
your plugin dll will be compatible. It probably also has to be built
in release mode.
Best regards,
Bjørn
I tried on Windows 7 and unfortunately I couldn't reproduce your
problem. I have installed:
* Qt SDK 1.2 with:
- Desktop Qt 4.7.4 - MinGW (this is the Qt the 0.8.0 release was
compiled against, so use that rather than 4.8)
- MinGW 4.4
My repository is on the v0.8.0 tag, I ran 'git clean -dxf' to make
sure it had no residues.
Then I open the top-level tiled.pro in Qt Creator and press build.
One thing that I think may be a problem, though I can't see whether
this is the case, is when either Tiled or the Qt SDK is located in a
path with spaces in them. Some wrong quoting somewhere, which is
unfortunately not unlikely when spaces are involved, could mess up the
build.
Btw, I noticed you are compiling Tiled at commit e1d7313, which is the
current master. This is not recommended when you want your plugin to
be working with the 0.8.0 release, because on the master branch there
have been two additions to libtiled, which could be missed by your
plugin when it's combined with an older version of libtiled (the one
that shipped with 0.8.0). Probably it's not an issue when you're not
using those functions, but just thought I'd point that out.
Well, I hope you get it to work. Great that you're using Tiled in your
lessons, btw. :-)
Best regards,
Bjørn