You have found the bug for which I hope to have a fix. Please try to build branch fix-osx-build-v1 or fix-osx-build-v2 ; both branches can be found on KDE git (or are you pulling from ktechlab's github repository?)
The fix itself is the same for both branches, v2 is based on newer master and it should include the script ' build-simple.sh ' with workaround for the header file generation issue. WADE MAXFIELD <wade.maxfi...@4gwireline.com> ezt írta (időpont: 2018. okt. 11., Cs, 17:49): > Hmmm….. > > Some dereferenced null pointer warnings, and then x11setscreen….. > > canvas error came back??? I pulled from git…. > > [ 4%] Building CXX object src/CMakeFiles/test_ktechlab.dir/ktechlab.cpp.o > In file included from > /Users/maxfield/ktechlabLatest/ktechlab/src/ktechlab.cpp:38: > In file included from > /Users/maxfield/ktechlabLatest/ktechlab/src/textdocument.h:22: > In file included from /opt/local/include/KDE4/ktexteditor/document.h:26: > */opt/local/include/KDE4/ktexteditor/cursor.h:309:12: **warning: **reference > cannot be bound to dereferenced null pointer in* > * well-defined C++ code; pointer may be assumed to always convert to > true [-Wundefined-bool-conversion]* > if (&cursor) > * ~~ ^~~~~~* > In file included from > /Users/maxfield/ktechlabLatest/ktechlab/src/ktechlab.cpp:38: > In file included from > /Users/maxfield/ktechlabLatest/ktechlab/src/textdocument.h:22: > In file included from /opt/local/include/KDE4/ktexteditor/document.h:27: > */opt/local/include/KDE4/ktexteditor/range.h:572:12: **warning: **reference > cannot be bound to dereferenced null pointer in* > * well-defined C++ code; pointer may be assumed to always convert to > true [-Wundefined-bool-conversion]* > if (&range) > * ~~ ^~~~~* > */Users/maxfield/ktechlabLatest/ktechlab/src/ktechlab.cpp:791:29: **warning: > **comparison of integers of different signs:* > * 'unsigned int' and 'int' [-Wsign-compare]* > for ( unsigned i = 0; i < name.length(); > ++i ) > > *……..* > > [ 18%] Building CXX object src/CMakeFiles/test_ktechlab.dir/canvas.cpp.o > */Users/maxfield/ktechlabLatest/ktechlab/src/canvas.cpp:367:18: **warning: > **unused variable 'item' [-Wunused-variable]* > KtlQCanvasItem* item; > * ^* > */Users/maxfield/ktechlabLatest/ktechlab/src/canvas.cpp:521:10: **error: **no > member named 'x11SetScreen' in 'QPixmap'* > offscr.x11SetScreen(p->device()->x11Screen()); > * ~~~~~~ ^* > */Users/maxfield/ktechlabLatest/ktechlab/src/canvas.cpp:521:36: **error: **no > member named 'x11Screen' in 'QPaintDevice'* > offscr.x11SetScreen(p->device()->x11Screen()); > * ~~~~~~~~~~~ ^* > */Users/maxfield/ktechlabLatest/ktechlab/src/canvas.cpp:835:17: **error: **no > member named 'x11SetScreen' in 'QPixmap'* > if (p) offscr.x11SetScreen(p->device()->x11Screen()); > * ~~~~~~ ^* > */Users/maxfield/ktechlabLatest/ktechlab/src/canvas.cpp:835:43: **error: **no > member named 'x11Screen' in 'QPaintDevice'* > if (p) offscr.x11SetScreen(p->device()->x11Screen()); > * ~~~~~~~~~~~ ^* > 1 warning and 4 errors generated. > make[2]: *** [src/CMakeFiles/test_ktechlab.dir/canvas.cpp.o] Error 1 > make[1]: *** [src/CMakeFiles/test_ktechlab.dir/all] Error 2 > > * ~ ^ ~~~~~~~~~~~~~* > > > On Oct 11, 2018, at 9:31 AM, WADE MAXFIELD <wade.maxfi...@4gwireline.com> > wrote: > > make -f src/gui/CMakeFiles/gui.dir/build.make > src/gui/ui_contexthelpwidget.h > [ 6%] *Generating ui_contexthelpwidget.h* > > > > On Oct 11, 2018, at 2:36 AM, Zoltan Padrah <zoltan.pad...@gmail.com> > wrote: > > make -f src/gui/CMakeFiles/gui.dir/build.make > src/gui/ui_contexthelpwidget.h > > > > _______________________________________________ > Ktechlab-devel mailing list > Ktechlab-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ktechlab-devel >
_______________________________________________ Ktechlab-devel mailing list Ktechlab-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ktechlab-devel