View Single Post
Posts: 10 | Thanked: 0 times | Joined on Aug 2010
#12
i am wondering if it is not my computer configuration that make the thing doesn't work 'cause it says :
HTML Code:
'dllimport' was not declare in ths scope
and in the gutils.h just above the error line there is

HTML Code:
/* Glib version.
 * we prefix variable declarations so they can
 * properly get exported in windows dlls.
 */
GLIB_VAR const guint glib_major_version;
GLIB_VAR const guint glib_minor_version;
GLIB_VAR const guint glib_micro_version;
GLIB_VAR const guint glib_interface_age;
GLIB_VAR const guint glib_binary_age;
and in an other error

HTML Code:
#ifdef G_OS_WIN32
/* It's a bad idea to wrap atexit() on Windows. If the GLib DLL calls
 * atexit(), the function will be called when the GLib DLL is detached
 * from the program, which is not what the caller wants. The caller
 * wants the function to be called when it *itself* exits (or is
 * detached, in case the caller, too, is a DLL).
 */
int atexit (void (*)(void));
#define g_atexit(func) atexit(func)
#endif
so i'am wondering if it can't came from my PC (Windows 7, x64) configuration or missing libraries because Qt seems to doesn't like all the g-something variables...

@Avis I have adapted your lines to my equivalent folder and i have the same errors...