Hi Bogdan
I ran into some bother trying to compile the KeyBindings plugin with Qt creator (Windows XP)
It almost completed here is the error (Build issues)
CMakeFiles/KeyBindings.dir/KeyBindings.cpp.obj:KeyBindings.cpp: -1
CMakeFiles/KeyBindings.dir/KeyBindings.cpp.obj:KeyBindings.cpp: -1
CMakeFiles/KeyBindings.dir/KeyBindings.cpp.obj:KeyBindings.cpp: -1
CMakeFiles/KeyBindings.dir/gui/KeyBindingsWindow.cpp.obj:KeyBindingsWindow.cpp:(.text$_ZN24Ui_keyBindingsWindowForm7setupUiEP7QWidget[Ui_keyBindingsWindowForm::setupUi -1
CMakeFiles/KeyBindings.dir/gui/KeyBindingsWindow.cpp.obj:KeyBindingsWindow.cpp:(.text$_ZN24Ui_keyBindingsWindowForm7setupUiEP7QWidget[Ui_keyBindingsWindowForm::setupUi -1
:-1: error:
collect2:
ld returned 1
exit
status
There was a similar error with a compile in msys (Windows XP)
CMakeFiles/KeyBindings.dir/KeyBindings.cpp.obj:KeyBindings.cpp:(.text+0x63f7): undefined reference to `StelButton::StelButton(QGraphicsItem*, QPixmap const&, QPixmap const&, QPixmap const&, QAction*, bool)'
CMakeFiles/KeyBindings.dir/KeyBindings.cpp.obj:KeyBindings.cpp:(.text+0x646c): undefined reference to `StelGui::getButtonBar()'
CMakeFiles/KeyBindings.dir/KeyBindings.cpp.obj:KeyBindings.cpp:(.text+0x6492): undefined reference to `BottomStelBar::addButton(StelButton*, QString const&, QString const&)'
CMakeFiles/KeyBindings.dir/gui/KeyBindingsWindow.cpp.obj:KeyBindingsWindow.cpp:(.text$_ZN24Ui_keyBindingsWindowForm7setupUiEP7QWidget[Ui_keyBindingsWindowForm::setupUi(QWidget*)]+0x310): undefined reference to `vtable for BarFrame'
CMakeFiles/KeyBindings.dir/gui/KeyBindingsWindow.cpp.obj:KeyBindingsWindow.cpp:(.text$_ZN24Ui_keyBindingsWindowForm7setupUiEP7QWidget[Ui_keyBindingsWindowForm::setupUi(QWidget*)]+0x317): undefined reference to `vtable for BarFrame'
collect2: ld returned 1 exit status
make[2]: *** [src/libKeyBindings.dll] Error 1
make[1]: *** [src/CMakeFiles/KeyBindings.dir/all] Error 2
make: *** [all] Error 2
BUILD FAILED
Barry Gerdes
Beaumont Hills Observatory
S 33' 41' 44" E 150' 56' 32"
> Date: Mon, 15 Mar 2010 18:10:17 +0200
> From: daggerstab@gmail.com
> To: stellarium-pubdevel@lists.sourceforge.net
> Subject: [Stellarium-pubdevel] Key Bindings plug-in
>
> Hello to all.
>
> I've committed a new plug-in. It's a proof-of-concept demonstration of
> an interface for changing Stellarium's keyboard shortcuts.
>
> Please have a look at the code and the README file.
>
> It is not polished or easy to use and it doesn't pretend to be. It's
> just a demonstration that this can be done, and an example of how it
> can be done.
>
> Also, please have a look at the documentation of QAction and QKeySequence.
> http://doc.trolltech.com/4.6/qaction.html
> http://doc.trolltech.com/4.6/qkeysequence.html
> QKeySequence supports multi-key shortcuts, for example you can have
> "+, D, S" ("+, then D, then S") for "add a Sidereal Day".
>
> I have very little time for programming, so I should really focus on
> the next telescope control plug-in.
>
> Regards,
> Bogdan Marinov
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Stellarium-pubdevel mailing list
> Stellarium-pubdevel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel
Sign up for SEEK Jobmail. Get the latest jobs delivered.