[Windows] Building and installing problem
Hsport last edited by
I succesfully compiled QT5.1.1 on Windows 7 but I can't install it.
This is my configuration command:
configure -prefix c:\qt\qt5-custom -release -opensource -skip webkit -opengl desktop
I compile with
and try to install it with
What happens is that it copies the files in a folder that I never specified. Example:
copy /y C:\Qt\qt-everywhere-opensource-src-5.1.1\qtbase\include\QtCore\Q
qtbase\bin\WD\qtbase\WD\qtbase just seems wrong and in the end I can't add this version of QT in QCreator because it complains that this version is not installed.
What am I doing wrong?
StaticPhilly last edited by
lol I had the exact same problem, im guessing this is a bug, sorry im happy that someone else has come into the same problem :)
ok how I fixed it,
I replaced all the(in your case):
in the prl files in the lib folder and also added a qt.conf file to the bin folder containing (in your case)
I actually made a basic c# program to replace all the paths in the prl files, notice the each normal \ in the file path is replaced with \\
@string QtPriFiles = System.IO.Directory.GetFiles("C:\Devel\Qt\x86", "*.prl", SearchOption.AllDirectories);
foreach (string QtPriFile in QtPriFiles)
System.IO.File.WriteAllText(QtPriFile, System.IO.File.ReadAllText(QtPriFile).Replace("C:\\Devel\\Qt\\src\\qtbase\\lib", "C:\\Devel\\Qt\\x86\\lib"));
Console.WriteLine("found: " + QtPriFiles.Count().ToString() + " files");
 after re-reading, your not using static so you might get away with just making the qt.conf
Hi and welcome to devnet,
Generally speaking you don't "make install" Qt on windows. Just build it (out of source is better) and use it from the directory where it was built and you should be good to go.