Unsolved compile Qt error
-
configure.bat -platform win32-msvc -opensource -confirm-license -release -widgets
return error:
Project ERROR: Library 'pcre2' is not defined.
NMAKE : fatal error U1077: “cd”: 返回代码“0x3”
Stop.
NMAKE : fatal error U1077: “cd”: 返回代码“0x2”
Stop.
NMAKE : fatal error U1077: “cd”: 返回代码“0x2”
Stop. -
Hi
Did u install perl ?
Before trying to make a self compiled Qt version , check outhttp://doc.qt.io/qt-5/windows-requirements.html
http://doc.qt.io/qt-5/linux-requirements.htmlAlso, why you need your own version ?
-
some bug in qt
-
@TANG-JI-QIANG_CHINA_
ok so u are applying patch.make sure to follow the guide
https://doc.qt.io/Qt-5/windows-building.html
and make sure you read the Requirements -
Hi,
Where exactly do you get that error ?
As @mrjj asked, did you install all build dependencies ?
What version of Visual Studio are you using ?
-
Now I can compile it correctly, but I need to know what the parameters of Qt 5.9.2 version configure.exe are.
-
@TANG-JI-QIANG_CHINA_ said in compile Qt error:
but I need to know what the parameters of Qt 5.9.2 version configure.exe are
Then call it with -h parameter:
configure -h
-
@jsulm
I only compiled the QtCore and QTWidget modules, with the debugging information DLL to replace the corresponding files in the installation directory, but there was an error. Is it necessary to compile it all?
![0_1532410930843_新建位图图像.bmp](Uploading 100%) -
@TANG-JI-QIANG_CHINA_ Please just insert the error text here.
-
-
@TANG-JI-QIANG_CHINA_ I don't see the actual error in this screen-shot...
-
@jsulm
There are two kinds of index classes in QGraphicsScene: QGraphicsSceneBspTreeIndex and QGraphicsSceneLinearIndex, but they have some shortcomings for us, and we can't reset the index method from the outside, so only change the index class code. -
@jsulm
Is Qt 5.9.2 compiled under win7 or under win8? -
@TANG-JI-QIANG_CHINA_ That you need to ask Qt developers, but I guess Windows 7. Why? It should work on both without issues.
-
@jsulm
I have been able to compile QT correctly, thank you for your patience. -
@TANG-JI-QIANG_CHINA_ so if your issue is solved please don't forget to mark your post as such. Thanks