[texworks] Building TeXworks on WinXP
Alain Delmotte
esperanto at swing.be
Tue Jan 13 15:41:00 CET 2009
Hi,
I realized that I had 2 qmake,... one in c:\programmes\QT\bin (this was
for Linguist) and one in c:\program files\KDE\bin.
After checking and finding Linguist in KDE, I uninstalled QT (and mingw).
Stefan Löffler a écrit :
> I found the following by quickly googling for the error message:
> http://www.qtforum.org/article/23745/QT433-and-qmake--t-vcapp.html
>
> It seems that it may be possible that qmake uses the wrong
> specifications. Somewhere else I also read that support for msvc was not
> available in all versions. To me it seems as if this were a path
> problem, however. So I suggest the following steps:
> 1) Confirm that you have set KDEDIRS and PATH according to
> http://techbase.kde.org/Projects/KDE_on_Windows/Installation#Summary_of_Steps
>
I also modified the path, not using %KDEDIRS% but the real c:\program
files\KDE, and qmake was fount.
> 2) Check which directories are in C:\Program Files\KDE\mkspecs (adjust
> the path to suit your KDE on Windows installation). On my installation I
> have several win32-msvc directories (most notably win32-msvc2008).
>
same here
> 3) Depending on which directories you find in (2), run qmake in the
> TeXworks source directory with the command (adjust paths as necessary)
> qmake -tp vc -spec C:\Program Files\KDE\mkspecs\win32-msvc2008
>
Here I modified as:
qmake -tp vc -spec C:\Progra~1\KDE\mkspecs\win32-msvc2008
for the name problem inherited from DOS (space in "program files".)
I could create the .vcproj file.
But compilation in msvc crashed with (sorry I use French):
------ Début de la génération : Projet : TeXworks, Configuration :
Release Win32 ------
RCC res\resources.qrc
'C:\PROGRAM' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
Project : error PRJ0019: Un outil a retourné un code d'erreur à partir
de "RCC res\resources.qrc"
Le journal de génération a été enregistré à l'emplacement
"file://c:\texworks\texworks\obj\BuildLog.htm"
TeXworks - 1 erreur(s), 0 avertissement(s)
========== Génération : 0 a réussi, 1 a échoué, 0 mis à jour, 0 a été
ignoré ==========
I join the BuildLog.htm file.
It looks like that again the problem is with the space in "program files".
Now I suppose that they are many places where this is refered to!!
A solution would be to move KDE to another folder as "c:\programmes" (in
fact it is what I had to do for QT and mingw).
Hope this help.
Alain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texworks/attachments/20090113/189f3cb3/attachment-0001.htm
More information about the texworks
mailing list