[Development] Problem with qt5 stable release

Andreas Holzammer andreas.holzammer at kdab.com
Sun May 5 18:21:10 CEST 2013


Am 05.05.2013 18:09, schrieb Francisco Ortega:
> Thank you all.  I know understand the mailing list betters. 
> 
> I did post a bug report
> : https://bugreports.qt-project.org/browse/QTBUG-31004
> 
> As far as the perl question, it says 
> 
> (C)>>where perl
> C:\Perl\bin\perl.exe
> 
> which the version is 
> (C)>>c:\perl\bin\perl.exe -v
> 
> This is perl 5, version 16, subversion 2 (v5.16.2) built for
> MSWin32-x86-multi-t
> hread
> 
> Yes, I'm using VS 2012 to compile. But I copy the moc command with its
> arguments to tested it in the terminal to find the problem. 

Can you try to use nmake for building Qt? The configure should have
generated a Makefile, which should be usable with nmake if you are in a
visual studio 2012 x64 environment. I guess they start dropping to add
shortcuts for this with the 2012 Version. Can you run
"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" x64
prior to your configure call? and then nmake? Btw what is your configure
line?

Thank you

Andy

> 
> Thanks,
> Francisco
> 
> 
> Francisco R. Ortega
> Ph.D. Candidate in Computer Science
> Florida International University
> http://www.FranciscoRaulOrtega.com
> 
> 
> On Sun, May 5, 2013 at 12:02 PM, Andreas Holzammer
> <andreas.holzammer at kdab.com <mailto:andreas.holzammer at kdab.com>> wrote:
> 
>     Francisco,
> 
>     you did not really describe what you did to compile Qt 5. Did you use
>     the command line or the Visual Studio IDE to build. But from your
>     description I figure that you are trying to use the IDE to build Qt. IT
>     could be that there is a bug. The preferred way is to use the command
>     line. Also do you have python and perl in your path in the command line?
> 
>     What does "where perl" state?
> 
>     Did you follow the wiki page I posted.
> 
>     Actual Bugs are posted into Jira bugreports.qt-project.org
>     <http://bugreports.qt-project.org>
>     And yes If you got problems compiling Qt, this belongs to
>     interest at qt-project.org <mailto:interest at qt-project.org>
> 
>     Thanks
> 
>     Andy
> 
> 
>     Am 05.05.2013 17:52, schrieb Francisco Ortega:
>     > Andreas,
>     >
>     > Thank you for the email. Which is the correct mailing list. I think I
>     > found a bug with MOC . I have more information.
>     >
>     > You are saying that interest is where problems or bugs should be sent?
>     >
>     > Francisco R. Ortega
>     > Ph.D. Candidate in Computer Science
>     > Florida International University
>     > http://www.FranciscoRaulOrtega.com
>     >
>     >
>     > On Sun, May 5, 2013 at 11:47 AM, Andreas Holzammer
>     > <andreas.holzammer at kdab.com <mailto:andreas.holzammer at kdab.com>
>     <mailto:andreas.holzammer at kdab.com
>     <mailto:andreas.holzammer at kdab.com>>> wrote:
>     >
>     >     Hi Francisco,
>     >
>     >     this is not the right mailing list. The developing mailing list is
>     >     taking care of Qt development and not howto compile Qt. Please
>     use the
>     >     interest mailing list. Also did you follow the wiki page on
>     how to build
>     >     Qt 5 from git[1]?
>     >
>     >     Thank you
>     >
>     >     Andy
>     >
>     >
>     >     [1] http://qt-project.org/wiki/Building_Qt_5_from_Git
>     >
>     >     Am 05.05.2013 17:38, schrieb Francisco Ortega:
>     >     > [SORRY FOR DUAL POSTING --- Hit send by mistake]
>     >     > Hi,
>     >     >
>     >     > I have downloaded qt5 with git , stable release.
>     >     >
>     >     > I have compiled that for Windows 7 64 bits, for 64 bits
>     (debug and
>     >     > release) for visual studio 2012 with OpenGL Desktop (in the
>     configure)
>     >     >
>     >     > I created an empty project with the wizard, with QT CORE, QT
>     GUI, QT
>     >     > OPENGL ...
>     >     >
>     >     > However, the moc is not created.
>     >     >
>     >     > Is this a known issue? has anyone run into this problem?
>     >     >
>     >     > Here is the code of MOC
>     >     >
>     >     > "$(QTDIR)\bin\moc.exe"  "%(FullPath)" -o
>     >     > ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp"
>      -DUNICODE
>     >     > -DWIN32 -DQT_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB
>     >     > -DQT_WIDGETS_LIB "-I.\GeneratedFiles" "-I." "-I$(QTDIR)\include"
>     >     > "-I.\GeneratedFiles\$(ConfigurationName)\."
>     >     "-I$(QTDIR)\include\QtCore"
>     >     > "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtOpenGL"
>     >     > "-I$(QTDIR)\include\QtWidgets"
>     >     >
>     >     > which translate to
>     >     >
>     >     > "C:\Qt\qt5\qt5x64\qtbase\bin\moc.exe"
>     >     >
>      "C:\DSPLAB_ORTEGA\QTApp\QTGLANAV2013\QTGLANAV2013\qtglanav2013.h" -o
>     >     > ".\GeneratedFiles\Debug\moc_qtglanav2013.cpp"  -DUNICODE -DWIN32
>     >     > -DQT_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB
>     -DQT_WIDGETS_LIB
>     >     > "-I.\GeneratedFiles" "-I." "-IC:\Qt\qt5\qt5x64\qtbase\include"
>     >     > "-I.\GeneratedFiles\Debug\."
>     >     "-IC:\Qt\qt5\qt5x64\qtbase\include\QtCore"
>     >     > "-IC:\Qt\qt5\qt5x64\qtbase\include\QtGui"
>     >     > "-IC:\Qt\qt5\qt5x64\qtbase\include\QtOpenGL"
>     >     > "-IC:\Qt\qt5\qt5x64\qtbase\include\QtWidgets"
>     >     >
>     >     >
>     >     > it doesn't work, even if I change the output location or
>     name. But If
>     >     > omit the output, it generated the output in the terminal.
>     >     >
>     >     > Please help. I'm trying to get vs 2012 with qt working for
>     64 bits for
>     >     > Windows 7.
>     >     >
>     >     > Thanks,
>     >     > Francisco
>     >     >
>     >     > Francisco R. Ortega
>     >     > Ph.D. Candidate in Computer Science
>     >     > Florida International University
>     >     > http://www.FranciscoRaulOrtega.com
>     >     >
>     >     >
>     >     > On Sun, May 5, 2013 at 11:37 AM, Francisco Ortega
>     >     > <franciscoraulortega at gmail.com
>     <mailto:franciscoraulortega at gmail.com>
>     >     <mailto:franciscoraulortega at gmail.com
>     <mailto:franciscoraulortega at gmail.com>>
>     >     <mailto:franciscoraulortega at gmail.com
>     <mailto:franciscoraulortega at gmail.com>
>     >     <mailto:franciscoraulortega at gmail.com
>     <mailto:franciscoraulortega at gmail.com>>>>
>     >     > wrote:
>     >     >
>     >     >     Hi,
>     >     >
>     >     >     I have downloaded qt5 with git , stable release.
>     >     >
>     >     >     I have compiled that for Windows 7 64 bits, for 64 bits
>     (debug and
>     >     >     release) for visual studio 2012 with OpenGL Desktop (in the
>     >     configure)
>     >     >
>     >     >     I created an empty project with the wizard, with QT CORE, QT
>     >     GUI, QT
>     >     >     OPENGL ...
>     >     >
>     >     >     However, the moc is not created.
>     >     >
>     >     >     Is this a known issue? has anyone run into this problem?
>     >     >
>     >     >     Here is the code of MOC :
>     >     >
>     >     >     Francisco R. Ortega
>     >     >     Ph.D. Candidate in Computer Science
>     >     >     Florida International University
>     >     >     http://www.FranciscoRaulOrtega.com
>     >     >
>     >     >
>     >     >
>     >     >
>     >     > _______________________________________________
>     >     > Development mailing list
>     >     > Development at qt-project.org
>     <mailto:Development at qt-project.org>
>     <mailto:Development at qt-project.org <mailto:Development at qt-project.org>>
>     >     > http://lists.qt-project.org/mailman/listinfo/development
>     >     >
>     >
>     >
>     >     --
>     >     Andreas Holzammer | andreas.holzammer at kdab.com
>     <mailto:andreas.holzammer at kdab.com>
>     >     <mailto:andreas.holzammer at kdab.com
>     <mailto:andreas.holzammer at kdab.com>> | Software Engineer
>     >     KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
>     >     Tel. Germany +49-30-521325470 <tel:%2B49-30-521325470>
>     <tel:%2B49-30-521325470>, Sweden (HQ)
>     >     +46-563-540090 <tel:%2B46-563-540090> <tel:%2B46-563-540090>
>     >     KDAB - Qt Experts - Platform-independent software solutions
>     >
>     >
> 
> 
>     --
>     Andreas Holzammer | andreas.holzammer at kdab.com
>     <mailto:andreas.holzammer at kdab.com> | Software Engineer
>     KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
>     Tel. Germany +49-30-521325470 <tel:%2B49-30-521325470>, Sweden (HQ)
>     +46-563-540090 <tel:%2B46-563-540090>
>     KDAB - Qt Experts - Platform-independent software solutions
> 
> 


-- 
Andreas Holzammer | andreas.holzammer at kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel. Germany +49-30-521325470, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2898 bytes
Desc: S/MIME Kryptografische Unterschrift
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130505/1033a473/attachment.bin>


More information about the Development mailing list