Opened 3 years ago

Closed 8 months ago

#12427 closed Bug Report - General (Fixed)

./util-osx.h:10:10: fatal error: 'QWindowsStyle' file not found

Reported by: bradd@… Owned by:
Priority: minor Milestone: 0.28
Component: Qt5 issues Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

getting the following trying to compile trunk on os x with qt5.

/Users/bradd/mythtv-build-qt5/.osx-packager/build/bin/ccache /Applications/Xcode?.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -arch x86_64 -isysroot /Applications/Xcode?.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.5 -I/Users/bradd/mythtv-build-qt5/.osx-packager/build/include -I/Users/bradd/mythtv-build-qt5/.osx-packager/build/mysql -F/Users/bradd/Qt/5.4/clang_64/lib -DNDEBUG -fomit-frame-pointer -fPIC -DQT_DISABLE_DEPRECATED_BEFORE -msse -pthread -g -Wall -Wpointer-arith -DSTDC_CONSTANT_MACROS -DSTDC_LIMIT_MACROS -Wno-self-assign -Wno-constant-logical-operand -Wno-unused-value -Qunused-arguments -isysroot /Applications/Xcode?.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 -fPIC -DMMX -DUSING_APPLEREMOTE -D_GNU_SOURCE -DUSE_OPENGL_PAINTER -DUSING_QTWEBKIT -DMUI_API -DQT_OPENGL_LIB -DQT_WEBKITWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../external/qjson/include -I../libmythbase -I../.. -I.. -I../../external/FFmpeg -I/Users/bradd/Qt/5.4/clang_64/lib/QtOpenGL.framework/Versions/5/Headers -I/Users/bradd/Qt/5.4/clang_64/lib/QtWebKitWidgets.framework/Versions/5/Headers -I/Users/bradd/Qt/5.4/clang_64/lib/QtWidgets.framework/Versions/5/Headers -I/Users/bradd/Qt/5.4/clang_64/lib/QtWebKit.framework/Versions/5/Headers -I/Users/bradd/Qt/5.4/clang_64/lib/QtGui.framework/Versions/5/Headers -I/Users/bradd/Qt/5.4/clang_64/lib/QtXml.framework/Versions/5/Headers -I/Users/bradd/Qt/5.4/clang_64/lib/QtSql.framework/Versions/5/Headers -I/Users/bradd/Qt/5.4/clang_64/lib/QtNetwork.framework/Versions/5/Headers -I/Users/bradd/Qt/5.4/clang_64/lib/QtCore.framework/Versions/5/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Users/bradd/Qt/5.4/clang_64/mkspecs/macx-clang -F/Users/bradd/Qt/5.4/clang_64/lib -o mythmainwindow.o mythmainwindow.cpp In file included from mythmainwindow.cpp:2: In file included from ./mythmainwindow_internal.h:14: In file included from ./mythrender_opengl.h:27: ./util-osx.h:10:10: fatal error: 'QWindowsStyle' file not found #include <QWindowsStyle>

1 error generated. make[2]: * [mythmainwindow.o] Error 1 make[1]: * [sub-libmythui-make_first] Error 2 make: * [libs] Error 2 [osx-pkg] Failed system call: " /usr/bin/make " with error code 2 Died at ./osx-packager-qtsdk.pl line 1817.

Change History (2)

comment:1 Changed 2 years ago by Stuart Auchterlonie

Status: newinfoneeded_new

Is this still an issue now?

comment:2 Changed 8 months ago by Jonatan Lindblad

Milestone: unknown0.28
Resolution: Fixed
Status: infoneeded_newclosed

The inclusion QWindowsStyle was removed in 81b478c0811005245682eebf2d4955c90fdc6d77 so I can't see why this ticket should be kept open.

Note: See TracTickets for help on using tickets.