Monkey Studio IDE The way IDEs should be

MkS v1.8.3.0 - entry point (x) not found in DLL (y)

Hello,

I decided to use Monkey Studio as IDE for QT4 on Window and Linux too. Can you help to achieve my goal?
My actual development environment:
Windows XP + SP3 (hungarian edition)
VS2005
QT v4.4.3
MinGW v5.1.4

1.)
At first I downloaded the "mks_1.8.3.0-svn2673-win32.zip". I unzipped and simple double-clicked the "monkeystudio.exe", but got a the following message: "Az eljárás belépési pontja (_Z11qUncompressPKhi") nem található a DLL-ben (QtCore4.dll)". This means in english: "Entry point of procedure (_Z11qUncompressPKhi") not found in DLL ((QtCore4.dll).

Is it some kind of uncompression function? Should I recompile my QtCore4.dll?

2.)
I've installed "setup_mks_1.8.3.0-svn2673-win32.exe" but got the same error msg.

3.)
I've downloaded the "mks_1.8.3.0-svn2673-src.zip" and tried to build with nmake. I realized that the Microsoftc cl compiler doesn't accept the "#warning ..." pragmas, so I eliminated/commented them.

Then the linker presented an error about uresolved external from QtDesignerChild.obj.
The promlem was at instantiation of QDesignerIntegration in QDesignerChild.cpp:
new qdesigner_internal::QDesignerIntegration( mCore, this );
I commented the not implemented slot in qdesigner-integration_p.h
//virtual void updateProperty(const QString &name, const QVariant &value);

After these modifications monkeystudio.exe generated succesfully. I started the app, but when configuring plugins cause an unhadled exception. Had I make something wrong with my comments?

4.)
I've taken a try with mingw32-make too.
Errors:

Project MESSAGE: Building in RELEASE for architecture windows
src\maininterface\ui\UIAbout.ui: An invalid icon property 'icon' was encountered
.
In file included from C:/Program Files/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../
../../include/windows.h:50,
from C:/Program Files/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../
../../include/rpc.h:2,
from C:/Program Files/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../
../../include/objbase.h:3,
from C:/Program Files/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../
../../include/ole2.h:9,
from C:/Program Files/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../
../../include/shlobj.h:11,
from src\toolsmanager\pDesktopApplications_win32.cpp:33:
C:/Program Files/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.
h:1663: error: declaration of C function `LONG InterlockedCompareExchange(volati
le LONG*, LONG, LONG)' conflicts with
../../Qt/include/QtCore/../../src/corelib/arch/qatomic_windows.h:387: error: pre
vious declaration `long int InterlockedCompareExchange(long int*, long int, long
int)' here
C:/Program Files/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.
h:1667: error: declaration of C function `LONG InterlockedDecrement(volatile LON
G*)' conflicts with
../../Qt/include/QtCore/../../src/corelib/arch/qatomic_windows.h:389: error: pre
vious declaration `long int InterlockedDecrement(long int*)' here
C:/Program Files/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.
h:1668: error: declaration of C function `LONG InterlockedExchange(volatile LONG
*, LONG)' conflicts with
../../Qt/include/QtCore/../../src/corelib/arch/qatomic_windows.h:390: error: pre
vious declaration `long int InterlockedExchange(long int*, long int)' here
C:/Program Files/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.
h:1672: error: declaration of C function `LONG InterlockedExchangeAdd(volatile L
ONG*, LONG)' conflicts with
../../Qt/include/QtCore/../../src/corelib/arch/qatomic_windows.h:391: error: pre
vious declaration `long int InterlockedExchangeAdd(long int*, long int)' here
C:/Program Files/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.
h:1676: error: declaration of C function `LONG InterlockedIncrement(volatile LON
G*)' conflicts with
../../Qt/include/QtCore/../../src/corelib/arch/qatomic_windows.h:388: error: pre
vious declaration `long int InterlockedIncrement(long int*)' here
mingw32-make[2]: *** [../build/release/.obj/win32/pDesktopApplications_win32.o]
Error 1
mingw32-make[1]: *** [release] Error 2
mingw32-make: *** [sub-monkey-make_default] Error 2

Should I replace all "LONG" to "long int" in the MinGW directory?

Thank You
Joe

pasnox's picture

Hi,MkS is (and will always)

Hi,

MkS is (and will always) be precompiled for MinGW for windows.
It's currently built using the Qt 4.4.3 precompiled MinGW package available on the Qt Software (anciennely Troltech) download page and the MinGW installation provide by the Qt installer.
So if your current Qt 4.4.3 installation was built with msvc, it will not wotk : build MkS yourself in this case.

For the msvc build error, i will fix the #warning thing and i will try to build it myself on windows using msvc.

For the mingw build, your error is too strange, you got errors on ui files, i need more log (the step that generate the ui files).
I could confirm by that using precompiled Qt 4.4.3 from Qt Software and their provided mingw, MkS build fine.

Regards,

You can seek team on IRC.
If you don't know what is IRC, then go to the IRC page.
If you want an answer, please be explicit and verbose.
Help by email will be ignored.

MkS is precompliled for MinGW for Windows

Hello Pasnox,

Thank You for the quick answer!

Yes, exactly as you suspected: I've downloaded the source of QT and built with msvs2005, and later I've downloaded MinGW from www.mingw.org (and built it with msvs2005 too - as I can remember).

I considered what you have written and choose the easy way:
I replaced my QT and MinGW installation with Trolltech's (Nokia's) stuff - provided by QT installer. So I can use the precompiled MkS without any trouble. :-))

Thanks a lot,
Joe