"std::basic_ostream >& std::_ostream_insert >(std::basic_ostream >&, char const*, long)", referenced from: "std::ios_base::Init::~Init()", referenced from: _GLOBAL_sub_I_qtstaticlibrary.cpp in libQTStaticLibrary.a(qtstaticlibrary.o) "std::ios_base::Init::Init()", referenced from: "std::ostream::flush()", referenced from: "std::ostream::put(char)", referenced from: QTStaticLibrary::hello() const in libQTStaticLibrary.a(qtstaticlibrary.o) JNIEXPORT void JNICALL Java_HelloQT2JNI_sayHello_(JNIEnv *, jobject)Ĭout >::widen(char) const", referenced from: # Modify the "makefile" as follows to generate the shared library "libHello.jnilib" for Mac. A clang compiler is not available for the eclipse mac osx version. I used Eclipse LUNA CDT for developing this application based on java jni for including a C++ shared library (.jnilib) (cpp compiler) over a CDT Eclipse plugin. My main application based on JAVA because I need a special runtime environment - based on java. ![]() I develop on Mac OS X 10.10 and create the static library (. QMAKE_CFLAGS_RELEASE = -Os -momit-leaf-frame-pointer QMAKE_LFLAGS = -std=c++11 -stdlib=libstdc++ -mmacosx-version-min=10.10 ![]() QMAKE_CXXFLAGS = -std=c++11 -stdlib=libstdc++ -mmacosx-version-min=10.10 ![]() The *.pro file have following build information: This QT projekt ist downloadable as *.ZIP: I will create a static library *.a with QT creator and make it reuseable for a other projekt.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |