Building Qt 5.12.1 on Windows has install problems
Solved
Installation and Deployment
-
I am building Qt 5.12.1 from the source ball, because I need a 32 bit QWebEngine. I'm using the 64 to 32bit "cross-compiler" and it seems to build okay. But when I do the 'jom install' step, I get the following errors:
Error copying C:\qt-everywhere-src-5.12.1\qtbase\include\QtWidgets\QCommonStyle to c:\5.12.1-32-release\include\QtWidgets\QCommonStyle: Cannot create c:\5.12.1-32-release\include\QtWidgets\QCommonStyle for output Error copying C:\qt-everywhere-src-5.12.1\qtbase\include\QtWidgets\QStyleOptionTabWidgetFrame to c:\5.12.1-32-release\include\QtWidgets\QStyleOptionTabWidgetFrame: Cannot create c:\5.12.1-32-release\include\QtWidgets\QStyleOptionTabWidgetFrame for output Error copying C:\qt-everywhere-src-5.12.1\qtbase\include\QtWidgets\QStyleOptionTabV3 to c:\5.12.1-32-release\include\QtWidgets\QStyleOptionTabV3: Destination file exists Error copying C:\qt-everywhere-src-5.12.1\qtbase\include\QtWidgets\QStyleOptionSizeGrip to c:\5.12.1-32-release\include\QtWidgets\QStyleOptionSizeGrip: Destination file exists Error copying C:\qt-everywhere-src-5.12.1\qtbase\include\QtWidgets\QStyleHintReturn to c:\5.12.1-32-release\include\QtWidgets\QStyleHintReturn: Cannot create c:\5.12.1-32-release\include\QtWidgets\QStyleHintReturn for output Error copying C:\qt-everywhere-src-5.12.1\qtbase\include\QtWidgets\QStyleHintReturnMask to c:\5.12.1-32-release\include\QtWidgets\QStyleHintReturnMask: Destination file exists Error copying C:\qt-everywhere-src-5.12.1\qtbase\include\QtWidgets\QMouseEventTransition to c:\5.12.1-32-release\include\QtWidgets\QMouseEventTransition: Destination file exists Error copying C:\qt-everywhere-src-5.12.1\qtbase\include\QtWidgets\QStyleOptionToolBar to c:\5.12.1-32-release\include\QtWidgets\QStyleOptionToolBar: Destination file exists Error copying C:\qt-everywhere-src-5.12.1\qtbase\include\QtWidgets\QStyleOptionProgressBar to c:\5.12.1-32-release\include\QtWidgets\QStyleOptionProgressBar: Destination file exists Error copying C:\qt-everywhere-src-5.12.1\qtbase\include\QtWidgets\QStyleOptionViewItem to c:\5.12.1-32-release\include\QtWidgets\QStyleOptionViewItem: Destination file exists Error copying C:\qt-everywhere-src-5.12.1\qtbase\include\QtWidgets\QStyleOptionViewItemV2 to c:\5.12.1-32-release\include\QtWidgets\QStyleOptionViewItemV2: Cannot create c:\5.12.1-32-release\include\QtWidgets\QStyleOptionViewItemV2 for output Error copying C:\qt-everywhere-src-5.12.1\qtbase\include\QtWidgets\QStyleOptionToolBoxV2 to c:\5.12.1-32-release\include\QtWidgets\QStyleOptionToolBoxV2: Destination file exists Error copying C:\qt-everywhere-src-5.12.1\qtbase\include\QtWidgets\QStyleOptionGraphicsItem to c:\5.12.1-32-release\include\QtWidgets\QStyleOptionGraphicsItem: Destination file exists Error copying C:\qt-everywhere-src-5.12.1\qtbase\include\QtWidgets\QStylePainter to c:\5.12.1-32-release\include\QtWidgets\QStylePainter: Destination file exists
I just do a jom /i install to get past all these errors, but why am I getting them at all?
Jonathan
-
And if it helps, this is my configure line:
%_ROOT%\configure -prefix %_ROOT%\..\5.12.1-32-release -nomake examples -nomake tests -skip qtandroidextras -skip qtgamepad -skip qtmacextras -skip qtquickcontrols -skip qt3d -skip qtcanvas3d -skip qtx11extras -skip qtactiveqt -skip qtcharts -skip qtdatavis3d -skip qtpurchasing -skip qtquickcontrols2 -skip qtvirtualkeyboard -skip qtwayland -opensource -opengl dynamic -confirm-license
Jonathan