First of all, I'd like to thank for the nice library.
My question is how to statically build MathGL with Qt. I built Qt-4.8.6 statically, of course, without WebKit. But I cannot switch off WebKit support using cmake-gui
What should I do? I'm intrested both Linux and Windows (MinGW with MSYS) solutions
Thanks in advance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Set in cmake-gui "Ungrouped Entries/enable-json-sample" to off.
This will disable QtNetwork and QtWebKit.
On my computer cmake also can't find QT_ARTHURPLUGIN_LIBRARY
QT_PHONON_LIBRARY, but MathGL is building and working.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First of all, I'd like to thank for the nice library.
My question is how to statically build MathGL with Qt. I built Qt-4.8.6 statically, of course, without WebKit. But I cannot switch off WebKit support using cmake-gui
What should I do? I'm intrested both Linux and Windows (MinGW with MSYS) solutions
Thanks in advance
Just comment in main file CMakeLists.txt the line
Thank you for quick answer
cmake-gui still complains about missing: QT_QTWEBKIT_LIBRARY
In particular, I cannot exclude Phonon and Arthur stuff
QT_ARTHURPLUGIN_LIBRARY
QT_PHONON_LIBRARY
Another question, is it so critical to omit WebKit?
Thanks in advance
Set in cmake-gui "Ungrouped Entries/enable-json-sample" to off.
This will disable QtNetwork and QtWebKit.
On my computer cmake also can't find QT_ARTHURPLUGIN_LIBRARY
QT_PHONON_LIBRARY, but MathGL is building and working.
View and moderate all "Open Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Thank you very much
I built the subject with qt4, png and zlib enabled, without openmp
Then, when I tried to build my test example, I've got the linker message
undefined reference to '_imp___ZTV8mglDataA'
Then I put the next string in my source file
define MGL_STATIC_DEFINE
but now I have
undefined reference to 'mgl_data_save'
Of cource, I link against -lmgl -lmgl-qt, statically (-static)
What should I do now? I'd like to avoid using dlls
Thanks in advance