Hi, I am having some major problems trying to compile EpicsQt source files to make custom plugins
My setup is a Windows 64 bit machine and I compile in 32 bits but I think the problem is using Qt5 which is 32 bit and telling me “%1 this is not a valid win32 plugin”
Setup:
64Bit machine, Windows7
Qt5
For Visual Studio I used the C++ libs:
VC 2012 and VC 2015. I ended up only using VC2012 libs to get as close to the Qt4 install as possible
Mingw32 bit
Strawberry Perl 32 bit
All compiled on the command line.
The version of EpicsQt is 3.1.0 simply because I found a working windows version of epicsqt on Sourceforge that I could trial and assumed that if the EpicsQt team could get that working so could I. I have made some of my own libraries
under this system but I get a strange “not valid win 32” error when try to open the QEPlugin.dll in designer 5.5. I am wondering if I am using something that is too new?
I compiled Epics Base and epicsqt with the win-x86-ming32. The only change I made was to comment out Timespec for EPICS base to get this to work with Mingw32 but base works and caget opens. VC2012 is also set to be 32 bits in this compile.
Now for EpicsQt:
3.1.0 compiles just fine. I used a program called “depends” to check QEPlugin.dll . It shares to the exact same x64 system libs that the working demo version uses and is an x32 lib like the working version. So, seeing as I have used 32bits
everywhere, any idea why Qt5 should throw that error? Will EpicsQt not build for Qt5? I’m hoping that one of the Qt’ers out there has used a similar setup (Qt5, Visual Studio 2013 or 2015). I tried to install Qt4 in desperation but it is telling me that Mingw32
Is too new and may cause errors. I am wondering what should be the next step forward, as the Qt designer “not a valid win32 ” error is not much to go on.
Regards,
Rory
Rory Clarke
Electrical and Controls Systems Group
Daresbury Laboratory
Keckwick Lane
Warrington
Cheshire
WA4 4AD
E:
[email protected]
T:
01925 60 Ext. 3777