- status: open --> fixed
- Group: -->
Here is the output from my attemp to compile hg 328e76
Starting compilation
-macx is deprecated.
Project MESSAGE: Building with Qt4
/usr/local/Cellar/qt/4.8.7_1/bin/uic configdialog.ui -o .ui/ui_configdialog.h
configdialog.ui: Warning: The name 'gridLayout' (QGridLayout) is already in use, defaulting to 'gridLayout4'.
configdialog.ui: Warning: The name 'gridLayout8' (QGridLayout) is already in use, defaulting to 'gridLayout81'.
g++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -DHUNSPELL_STATIC -D_QCODE_EDIT_BUILD_ -DQNFA_BUILD -DQUAZIP_STATIC -DHAS_POPPLER_24 -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Cellar/qt/4.8.7_1/mkspecs/macx-g++ -I. -I/usr/local/Cellar/qt/4.8.7_1/include/QtUiTools -I/usr/local/Cellar/qt/4.8.7_1/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtNetwork.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtNetwork.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtXml.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtXml.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtSvg.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtSvg.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtScript.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtScript.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/include -Iqtsingleapplication -Iqcodeedit/lib -Iqcodeedit/lib/document -Iqcodeedit/lib/widgets -Iqcodeedit/lib/qnfa -Iquazip/quazip -I/usr/local/Cellar/poppler/0.36.0/include/poppler/qt4 -I/usr/local/Cellar/poppler/0.36.0/include/poppler -I.moc -I.ui -F/usr/local/Cellar/qt/4.8.7_1/lib -o .obj/main.o main.cpp
g++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -DHUNSPELL_STATIC -D_QCODE_EDIT_BUILD_ -DQNFA_BUILD -DQUAZIP_STATIC -DHAS_POPPLER_24 -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Cellar/qt/4.8.7_1/mkspecs/macx-g++ -I. -I/usr/local/Cellar/qt/4.8.7_1/include/QtUiTools -I/usr/local/Cellar/qt/4.8.7_1/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtNetwork.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtNetwork.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtXml.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtXml.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtSvg.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtSvg.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtScript.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtScript.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/include -Iqtsingleapplication -Iqcodeedit/lib -Iqcodeedit/lib/document -Iqcodeedit/lib/widgets -Iqcodeedit/lib/qnfa -Iquazip/quazip -I/usr/local/Cellar/poppler/0.36.0/include/poppler/qt4 -I/usr/local/Cellar/poppler/0.36.0/include/poppler -I.moc -I.ui -F/usr/local/Cellar/qt/4.8.7_1/lib -o .obj/texstudio.o texstudio.cpp
texstudio.cpp:7729:10: error: no member named 'setDevicePixelRatio' in 'QPixmap'
pixmap.setDevicePixelRatio(devPixelRatio);
~~~~~~ ^
In file included from texstudio.cpp:15:
In file included from ./texstudio.h:17:
In file included from ./mostQtHeaders.h:12:
In file included from ./modifiedQObject.h:44:
In file included from /usr/local/Cellar/qt/4.8.7_1/include/QtCore/QObject:1:
In file included from /usr/local/Cellar/qt/4.8.7_1/include/QtCore/qobject.h:50:
/usr/local/Cellar/qt/4.8.7_1/lib/QtCore.framework/Versions/4/Headers/qlist.h:381:22: warning:
source of this 'memcpy' call is a pointer to dynamic class
'QDocumentCursor'; vtable pointer will be copied
[-Wdynamic-class-memaccess]
else ::memcpy(n, &t, sizeof(T));
~~~~~~~~ ^
/usr/local/Cellar/qt/4.8.7_1/lib/QtCore.framework/Versions/4/Headers/qlist.h:580:13: note:
in instantiation of member function
'QList<qdocumentcursor>::node_construct' requested here
node_construct(n, t);
^
texstudio.cpp:8008:42: note: in instantiation of member function
'QList<qdocumentcursor>::insert' requested here
currentEditorView()->autoPreviewCursor.insert(0, c);
^
/usr/local/Cellar/qt/4.8.7_1/lib/QtCore.framework/Versions/4/Headers/qlist.h:381:22: note:
explicitly cast the pointer to silence this warning
else ::memcpy(n, &t, sizeof(T));
^
(void)
1 warning and 1 error generated.
make: *** [.obj/texstudio.o] Error 1
g++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -DHUNSPELL_STATIC -D_QCODE_EDIT_BUILD_ -DQNFA_BUILD -DQUAZIP_STATIC -DHAS_POPPLER_24 -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Cellar/qt/4.8.7_1/mkspecs/macx-g++ -I. -I/usr/local/Cellar/qt/4.8.7_1/include/QtUiTools -I/usr/local/Cellar/qt/4.8.7_1/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtNetwork.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtNetwork.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtXml.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtXml.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtSvg.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtSvg.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtScript.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtScript.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/include -Iqtsingleapplication -Iqcodeedit/lib -Iqcodeedit/lib/document -Iqcodeedit/lib/widgets -Iqcodeedit/lib/qnfa -Iquazip/quazip -I/usr/local/Cellar/poppler/0.36.0/include/poppler/qt4 -I/usr/local/Cellar/poppler/0.36.0/include/poppler -I.moc -I.ui -F/usr/local/Cellar/qt/4.8.7_1/lib -o .obj/texstudio.o texstudio.cpp
texstudio.cpp:7729:10: error: no member named 'setDevicePixelRatio' in 'QPixmap'
pixmap.setDevicePixelRatio(devPixelRatio);
~~~~~~ ^
In file included from texstudio.cpp:15:
In file included from ./texstudio.h:17:
In file included from ./mostQtHeaders.h:12:
In file included from ./modifiedQObject.h:44:
In file included from /usr/local/Cellar/qt/4.8.7_1/include/QtCore/QObject:1:
In file included from /usr/local/Cellar/qt/4.8.7_1/include/QtCore/qobject.h:50:
/usr/local/Cellar/qt/4.8.7_1/lib/QtCore.framework/Versions/4/Headers/qlist.h:381:22: warning:
source of this 'memcpy' call is a pointer to dynamic class
'QDocumentCursor'; vtable pointer will be copied
[-Wdynamic-class-memaccess]
else ::memcpy(n, &t, sizeof(T));
~~~~~~~~ ^
/usr/local/Cellar/qt/4.8.7_1/lib/QtCore.framework/Versions/4/Headers/qlist.h:580:13: note:
in instantiation of member function
'QList<qdocumentcursor>::node_construct' requested here
node_construct(n, t);
^
texstudio.cpp:8008:42: note: in instantiation of member function
'QList<qdocumentcursor>::insert' requested here
currentEditorView()->autoPreviewCursor.insert(0, c);
^
/usr/local/Cellar/qt/4.8.7_1/lib/QtCore.framework/Versions/4/Headers/qlist.h:381:22: note:
explicitly cast the pointer to silence this warning
else ::memcpy(n, &t, sizeof(T));
^
(void</qdocumentcursor></qdocumentcursor>)
1 warning and 1 error generated.
make: *** [.obj/texstudio.o] Error 1
Compilation and installation done</qdocumentcursor></qdocumentcursor>