dvmorris
22nd April 2007, 22:31
I have been using the QShortcutManager class from edyuk on os x for quite some time now, and I am just now getting around to compiling the code on windows, and I get this error:
release\moc_qshortcutdialog.cpp:40: error: definition of static data member 'QShortcutDialog::staticMetaObject' of dllimport'd class.
release\moc_qshortcutdialog.cpp:40: warning: 'QShortcutDialog::staticMetaObject' defined locally after being referenced with dllimport linkage
mingw32-make[1]: *** [release\moc_qshortcutdialog.o] Error 1
I can't find much documentation about any error like this. does anyone have any ideas? thanks for the help,
dave
release\moc_qshortcutdialog.cpp:40: error: definition of static data member 'QShortcutDialog::staticMetaObject' of dllimport'd class.
release\moc_qshortcutdialog.cpp:40: warning: 'QShortcutDialog::staticMetaObject' defined locally after being referenced with dllimport linkage
mingw32-make[1]: *** [release\moc_qshortcutdialog.o] Error 1
I can't find much documentation about any error like this. does anyone have any ideas? thanks for the help,
dave