{"action":"closed","issue":{"url":"https://api.github.com/repos/nitramr/indigoDock/issues/27","repository_url":"https://api.github.com/repos/nitramr/indigoDock","labels_url":"https://api.github.com/repos/nitramr/indigoDock/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/nitramr/indigoDock/issues/27/comments","events_url":"https://api.github.com/repos/nitramr/indigoDock/issues/27/events","html_url":"https://github.com/nitramr/indigoDock/issues/27","id":143766943,"number":27,"title":"Build issues with 58a6805","user":{"login":"luzpaz","id":4140247,"avatar_url":"https://avatars.githubusercontent.com/u/4140247?v=3","gravatar_id":"","url":"https://api.github.com/users/luzpaz","html_url":"https://github.com/luzpaz","followers_url":"https://api.github.com/users/luzpaz/followers","following_url":"https://api.github.com/users/luzpaz/following{/other_user}","gists_url":"https://api.github.com/users/luzpaz/gists{/gist_id}","starred_url":"https://api.github.com/users/luzpaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luzpaz/subscriptions","organizations_url":"https://api.github.com/users/luzpaz/orgs","repos_url":"https://api.github.com/users/luzpaz/repos","events_url":"https://api.github.com/users/luzpaz/events{/privacy}","received_events_url":"https://api.github.com/users/luzpaz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-27T01:36:19Z","updated_at":"2016-03-27T11:28:46Z","closed_at":"2016-03-27T11:28:46Z","body":"Trying to build 58a68054a41de1024ec2ce36e3ee7192954c381b on OSX 10.10.5 Qt5.6 (built with Homebrew package manager) I get these errors:\r\n```\r\n20:32:36: Running steps for project TestLayout...\r\n20:32:36: Configuration unchanged, skipping qmake step.\r\n20:32:36: Starting: \"/usr/bin/make\" \r\n/Users/sphenoid/Qt/5.6/clang_64/bin/qmake -spec macx-clang CONFIG+=x86_64 -o Makefile ../indigoDock/TestLayout.pro\r\n/Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.Release\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.7 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DESIGNER_LIB -DQT_UIPLUGIN_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQDESIGNER_EXPORT_WIDGETS -I../indigoDock -I. -I../../Qt/5.6/clang_64/lib/QtDesigner.framework/Headers -I../../Qt/5.6/clang_64/lib/QtUiPlugin.framework/Headers -I../../Qt/5.6/clang_64/lib/QtWidgets.framework/Headers -I../../Qt/5.6/clang_64/lib/QtGui.framework/Headers -I../../Qt/5.6/clang_64/lib/QtXml.framework/Headers -I../../Qt/5.6/clang_64/lib/QtCore.framework/Headers -I../indigoDock/build/release -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AGL.framework/Headers -I../indigoDock/build/release -I../../Qt/5.6/clang_64/mkspecs/macx-clang -F/Users/sphenoid/Qt/5.6/clang_64/lib -o ../indigoDock/build/release/main.o ../indigoDock/main.cpp\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.7 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DESIGNER_LIB -DQT_UIPLUGIN_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQDESIGNER_EXPORT_WIDGETS -I../indigoDock -I. -I../../Qt/5.6/clang_64/lib/QtDesigner.framework/Headers -I../../Qt/5.6/clang_64/lib/QtUiPlugin.framework/Headers -I../../Qt/5.6/clang_64/lib/QtWidgets.framework/Headers -I../../Qt/5.6/clang_64/lib/QtGui.framework/Headers -I../../Qt/5.6/clang_64/lib/QtXml.framework/Headers -I../../Qt/5.6/clang_64/lib/QtCore.framework/Headers -I../indigoDock/build/release -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AGL.framework/Headers -I../indigoDock/build/release -I../../Qt/5.6/clang_64/mkspecs/macx-clang -F/Users/sphenoid/Qt/5.6/clang_64/lib -o ../indigoDock/build/release/mainwindow.o ../indigoDock/mainwindow.cpp\r\nIn file included from ../indigoDock/mainwindow.cpp:12:\r\n../indigoDock/indigolabelcontrol.h:18:64: error: no viable conversion from 'bool' to 'Qt::Alignment' (aka 'QFlags<Qt::AlignmentFlag>')\r\n    void setLabel(QIcon icon, int iconSize = 22, Qt::Alignment alignment = false);\r\n                                                               ^           ~~~~~\r\n../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:86:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'bool' to 'const QFlags<Qt::AlignmentFlag> &' for 1st argument\r\nclass QFlags\r\n      ^\r\n../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:86:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'bool' to 'QFlags<Qt::AlignmentFlag> &&' for 1st argument\r\nclass QFlags\r\n      ^\r\n../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:111:29: note: candidate constructor not viable: no known conversion from 'bool' to 'Qt::AlignmentFlag' for 1st argument\r\n    Q_DECL_CONSTEXPR inline QFlags(Enum f) Q_DECL_NOTHROW : i(Int(f)) {}\r\n                            ^\r\n../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:112:29: note: candidate constructor not viable: no known conversion from 'bool' to 'Zero' (aka 'int (QFlags<Qt::AlignmentFlag>::Private::*)') for 1st argument\r\n    Q_DECL_CONSTEXPR inline QFlags(Zero = Q_NULLPTR) Q_DECL_NOTHROW : i(0) {}\r\n                            ^\r\n../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:113:29: note: candidate constructor not viable: no known conversion from 'bool' to 'QFlag' for 1st argument\r\n    Q_DECL_CONSTEXPR inline QFlags(QFlag f) Q_DECL_NOTHROW : i(f) {}\r\n                            ^\r\n../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:116:29: note: candidate constructor not viable: no known conversion from 'bool' to 'std::initializer_list<AlignmentFlag>' for 1st argument\r\n    Q_DECL_CONSTEXPR inline QFlags(std::initializer_list<Enum> flags) Q_DECL_NOTHROW\r\n                            ^\r\n../indigoDock/indigolabelcontrol.h:18:64: note: passing argument to parameter 'alignment' here\r\n    void setLabel(QIcon icon, int iconSize = 22, Qt::Alignment alignment = false);\r\n                                                               ^\r\n../indigoDock/indigolabelcontrol.h:18:64: error: missing default argument on parameter 'alignment'\r\n    void setLabel(QIcon icon, int iconSize = 22, Qt::Alignment alignment = false);\r\n                                                               ^\r\n../indigoDock/indigolabelcontrol.h:19:65: error: no viable conversion from 'bool' to 'Qt::Alignment' (aka 'QFlags<Qt::AlignmentFlag>')\r\n    void setLabel(QString string, int width = 22, Qt::Alignment alignment = false);\r\n                                                                ^           ~~~~~\r\n../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:86:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'bool' to 'const QFlags<Qt::AlignmentFlag> &' for 1st argument\r\nclass QFlags\r\n      ^\r\n../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:86:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'bool' to 'QFlags<Qt::AlignmentFlag> &&' for 1st argument\r\nclass QFlags\r\n      ^\r\n../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:111:29: note: candidate constructor not viable: no known conversion from 'bool' to 'Qt::AlignmentFlag' for 1st argument\r\n    Q_DECL_CONSTEXPR inline QFlags(Enum f) Q_DECL_NOTHROW : i(Int(f)) {}\r\n                            ^\r\n../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:112:29: note: candidate constructor not viable: no known conversion from 'bool' to 'Zero' (aka 'int (QFlags<Qt::AlignmentFlag>::Private::*)') for 1st argument\r\n    Q_DECL_CONSTEXPR inline QFlags(Zero = Q_NULLPTR) Q_DECL_NOTHROW : i(0) {}\r\n                            ^\r\n../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:113:29: note: candidate constructor not viable: no known conversion from 'bool' to 'QFlag' for 1st argument\r\n    Q_DECL_CONSTEXPR inline QFlags(QFlag f) Q_DECL_NOTHROW : i(f) {}\r\n                            ^\r\n../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:116:29: note: candidate constructor not viable: no known conversion from 'bool' to 'std::initializer_list<AlignmentFlag>' for 1st argument\r\n    Q_DECL_CONSTEXPR inline QFlags(std::initializer_list<Enum> flags) Q_DECL_NOTHROW\r\n                            ^\r\n../indigoDock/indigolabelcontrol.h:19:65: note: passing argument to parameter 'alignment' here\r\n    void setLabel(QString string, int width = 22, Qt::Alignment alignment = false);\r\n                                                                ^\r\n../indigoDock/indigolabelcontrol.h:19:65: error: missing default argument on parameter 'alignment'\r\n    void setLabel(QString string, int width = 22, Qt::Alignment alignment = false);\r\n                                                                ^\r\n../indigoDock/indigolabelcontrol.h:20:66: error: no viable conversion from 'bool' to 'Qt::Alignment' (aka 'QFlags<Qt::AlignmentFlag>')\r\n    void setLabel(QWidget *widget, int width = 22, Qt::Alignment alignment = false);\r\n                                                                 ^           ~~~~~\r\n../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:86:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'bool' to 'const QFlags<Qt::AlignmentFlag> &' for 1st argument\r\nclass QFlags\r\n      ^\r\n../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:86:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'bool' to 'QFlags<Qt::AlignmentFlag> &&' for 1st argument\r\nclass QFlags\r\n      ^\r\n../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:111:29: note: candidate constructor not viable: no known conversion from 'bool' to 'Qt::AlignmentFlag' for 1st argument\r\n    Q_DECL_CONSTEXPR inline QFlags(Enum f) Q_DECL_NOTHROW : i(Int(f)) {}\r\n                            ^\r\n../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:112:29: note: candidate constructor not viable: no known conversion from 'bool' to 'Zero' (aka 'int (QFlags<Qt::AlignmentFlag>::Private::*)') for 1st argument\r\n    Q_DECL_CONSTEXPR inline QFlags(Zero = Q_NULLPTR) Q_DECL_NOTHROW : i(0) {}\r\n                            ^\r\n../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:113:29: note: candidate constructor not viable: no known conversion from 'bool' to 'QFlag' for 1st argument\r\n    Q_DECL_CONSTEXPR inline QFlags(QFlag f) Q_DECL_NOTHROW : i(f) {}\r\n                            ^\r\n../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:116:29: note: candidate constructor not viable: no known conversion from 'bool' to 'std::initializer_list<AlignmentFlag>' for 1st argument\r\n    Q_DECL_CONSTEXPR inline QFlags(std::initializer_list<Enum> flags) Q_DECL_NOTHROW\r\n                            ^\r\n../indigoDock/indigolabelcontrol.h:20:66: note: passing argument to parameter 'alignment' here\r\n    void setLabel(QWidget *widget, int width = 22, Qt::Alignment alignment = false);\r\n                                                                 ^\r\n../indigoDock/indigolabelcontrol.h:20:66: error: missing default argument on parameter 'alignment'\r\n    void setLabel(QWidget *widget, int width = 22, Qt::Alignment alignment = false);\r\n                                                                 ^\r\n../indigoDock/mainwindow.cpp:297:14: error: no matching member function for call to 'setLabel'\r\n    ilcTest->setLabel(QIcon(str_iconPath + \"pan-image.png\"));\r\n    ~~~~~~~~~^~~~~~~~\r\n../indigoDock/indigolabelcontrol.h:18:10: note: candidate function not viable: requires 3 arguments, but 1 was provided\r\n    void setLabel(QIcon icon, int iconSize = 22, Qt::Alignment alignment = false);\r\n         ^\r\n../indigoDock/indigolabelcontrol.h:19:10: note: candidate function not viable: requires 3 arguments, but 1 was provided\r\n    void setLabel(QString string, int width = 22, Qt::Alignment alignment = false);\r\n         ^\r\n../indigoDock/indigolabelcontrol.h:20:10: note: candidate function not viable: requires 3 arguments, but 1 was provided\r\n    void setLabel(QWidget *widget, int width = 22, Qt::Alignment alignment = false);\r\n         ^\r\n../indigoDock/mainwindow.cpp:304:15: error: no matching member function for call to 'setLabel'\r\n    ilcTest2->setLabel(\"b:\");\r\n    ~~~~~~~~~~^~~~~~~~\r\n../indigoDock/indigolabelcontrol.h:18:10: note: candidate function not viable: requires 3 arguments, but 1 was provided\r\n    void setLabel(QIcon icon, int iconSize = 22, Qt::Alignment alignment = false);\r\n         ^\r\n../indigoDock/indigolabelcontrol.h:19:10: note: candidate function not viable: requires 3 arguments, but 1 was provided\r\n    void setLabel(QString string, int width = 22, Qt::Alignment alignment = false);\r\n         ^\r\n../indigoDock/indigolabelcontrol.h:20:10: note: candidate function not viable: requires 3 arguments, but 1 was provided\r\n    void setLabel(QWidget *widget, int width = 22, Qt::Alignment alignment = false);\r\n         ^\r\n../indigoDock/mainwindow.cpp:311:15: error: no matching member function for call to 'setLabel'\r\n    ilcTest4->setLabel(QIcon(str_iconPath + \"pan-image.png\"));\r\n    ~~~~~~~~~~^~~~~~~~\r\n../indigoDock/indigolabelcontrol.h:18:10: note: candidate function not viable: requires 3 arguments, but 1 was provided\r\n    void setLabel(QIcon icon, int iconSize = 22, Qt::Alignment alignment = false);\r\n         ^\r\n../indigoDock/indigolabelcontrol.h:19:10: note: candidate function not viable: requires 3 arguments, but 1 was provided\r\n    void setLabel(QString string, int width = 22, Qt::Alignment alignment = false);\r\n         ^\r\n../indigoDock/indigolabelcontrol.h:20:10: note: candidate function not viable: requires 3 arguments, but 1 was provided\r\n    void setLabel(QWidget *widget, int width = 22, Qt::Alignment alignment = false);\r\n         ^\r\n../indigoDock/mainwindow.cpp:315:15: error: no matching member function for call to 'setLabel'\r\n    ilcTest5->setLabel(QIcon(str_iconPath + \"pan-image.png\"));\r\n    ~~~~~~~~~~^~~~~~~~\r\n../indigoDock/indigolabelcontrol.h:18:10: note: candidate function not viable: requires 3 arguments, but 1 was provided\r\n    void setLabel(QIcon icon, int iconSize = 22, Qt::Alignment alignment = false);\r\n         ^\r\n../indigoDock/indigolabelcontrol.h:19:10: note: candidate function not viable: requires 3 arguments, but 1 was provided\r\n    void setLabel(QString string, int width = 22, Qt::Alignment alignment = false);\r\n         ^\r\n../indigoDock/indigolabelcontrol.h:20:10: note: candidate function not viable: requires 3 arguments, but 1 was provided\r\n    void setLabel(QWidget *widget, int width = 22, Qt::Alignment alignment = false);\r\n         ^\r\n../indigoDock/mainwindow.cpp:327:15: error: no matching member function for call to 'setLabel'\r\n    ilcTest3->setLabel(aPicker, aPicker->width());\r\n    ~~~~~~~~~~^~~~~~~~\r\n../indigoDock/indigolabelcontrol.h:18:10: note: candidate function not viable: requires 3 arguments, but 2 were provided\r\n    void setLabel(QIcon icon, int iconSize = 22, Qt::Alignment alignment = false);\r\n         ^\r\n../indigoDock/indigolabelcontrol.h:19:10: note: candidate function not viable: requires 3 arguments, but 2 were provided\r\n    void setLabel(QString string, int width = 22, Qt::Alignment alignment = false);\r\n         ^\r\n../indigoDock/indigolabelcontrol.h:20:10: note: candidate function not viable: requires 3 arguments, but 2 were provided\r\n    void setLabel(QWidget *widget, int width = 22, Qt::Alignment alignment = false);\r\n         ^\r\n../indigoDock/mainwindow.cpp:335:15: error: no matching member function for call to 'setLabel'\r\n    ilcTest6->setLabel(\"Rect Colour:\", 100);\r\n    ~~~~~~~~~~^~~~~~~~\r\n../indigoDock/indigolabelcontrol.h:18:10: note: candidate function not viable: requires 3 arguments, but 2 were provided\r\n    void setLabel(QIcon icon, int iconSize = 22, Qt::Alignment alignment = false);\r\n         ^\r\n../indigoDock/indigolabelcontrol.h:19:10: note: candidate function not viable: requires 3 arguments, but 2 were provided\r\n    void setLabel(QString string, int width = 22, Qt::Alignment alignment = false);\r\n         ^\r\n../indigoDock/indigolabelcontrol.h:20:10: note: candidate function not viable: requires 3 arguments, but 2 were provided\r\n    void setLabel(QWidget *widget, int width = 22, Qt::Alignment alignment = false);\r\n         ^\r\n12 errors generated.\r\nmake[1]: *** [../indigoDock/build/release/mainwindow.o] Error 1\r\nmake: *** [release] Error 2\r\n20:33:19: The process \"/usr/bin/make\" exited with code 2.\r\nError while building/deploying project TestLayout (kit: Desktop Qt 5.6.0 clang 64bit2)\r\nWhen executing step \"Make\"\r\n20:33:19: Elapsed time: 00:43.\r\n```\r\n"}}