[PyQt] Trouble compiling qtcharts 2
Bhavek Budia
bhavek.budhia at thinkboxsoftware.com
Mon May 11 20:21:29 BST 2015
Hey Phil,
I checked and the qt_lib_charts.pri was not there. I copied it over and the pyqt build worked.
Thanks for your help.
- Bhavek
-----Original Message-----
From: Phil Thompson [mailto:phil at riverbankcomputing.com]
Sent: May-11-15 11:29 AM
To: Bhavek Budia
Cc: pyqt at riverbankcomputing.com
Subject: RE: [PyQt] Trouble compiling qtcharts 2
On 09/05/2015 10:03 pm, Bhavek Budia wrote:
> Hey Phil,
> I did try with the --qmake option. It is picking up the correct qt
> version but I am still getting the same error message.
> Here is the output of running configure with --verbose
>
> Configuring PyQtChart 2.0...
> QtChart 2.0.0 is being used.
> The QtChart .sip files will be installed in C:\Python27\sip\PyQt5.
> The PyQtChart module will be installed in
> C:\Python27\Lib\site-packages\PyQt5.
> PyQt 5.2 is being used.
> Qt 5.3.1 is being used.
> sip 4.16.2 is being used.
> The sip executable is C:\Python27\sip.exe.
> The QScintilla API file will be installed in
> C:/FranticDev/Qt-5.3.1/Windows/x64\qsci\api\python.
> Updating .sip files for PyQt5...
> Generating the C++ source for the QtChart module...
> C:\Python27\sip.exe -t QtChart_2_0_0 -x PYQTC_v1_0 -x VendorID -t
> WS_WIN -t Qt_5_2_0 -x PyQt_SSL -x PyQt_Desktop_OpenGL -x Py_v3 -I
> C:\Python27\sip\PyQt5 -a QtChart.api -o -c . sip/QtChart/QtChartmod.
> sip
> Generating the .pro file for the QtChart module...
> Creating the Makefile for the QtChart module...
> C:\FranticDev\Qt-5.3.1\Windows\x64\bin\qmake.exe -spec win32-msvc2008
> QtChart.pro Project ERROR: Unknown module(s) in QT: charts
> Error: C:\FranticDev\Qt-5.3.1\Windows\x64\bin\qmake.exe failed to
> create a Makefile from QtChart.pro.
>
> -----Original Message-----
> From: PyQt [mailto:pyqt-bounces at riverbankcomputing.com] On Behalf Of
> Bhavek Budia
> Sent: May-08-15 2:19 PM
> To: 'Phil Thompson'
> Cc: pyqt at riverbankcomputing.com
> Subject: Re: [PyQt] Trouble compiling qtcharts 2
>
> Hey Phil,
> I only have qt 5 installed on my machine, but I do have 5.2/5.3. I
> will try with the --qmake flag and let you know tomorrow. I got
> dragged in to another project and I don't think I will have time to
> continue this today.
>
> Thanks for your help and speedy replies.
> -Bhavek
Are you sure you are specifying the same version of Qt as you built Charts for? You should see a qt_lib_charts.pri file in the mkspecs\modules directory.
Phil
> -----Original Message-----
> From: Phil Thompson [mailto:phil at riverbankcomputing.com]
> Sent: May-08-15 12:58 PM
> To: Bhavek Budia
> Cc: pyqt at riverbankcomputing.com
> Subject: RE: [PyQt] Trouble compiling qtcharts 2
>
> On 08/05/2015 5:19 pm, Bhavek Budia wrote:
>> I am using
>> Version: PyQtChart-commercial-2.0
>> Command line arg: Python configure.py --qtchart-version=2.0.0
>> --verbose
>
> Make sure you are picking up the Qt5 version of qmake rather than the
> Qt4 version. If necessary use the --qmake argument to make sure.
>
> Phil
>
>> -----Original Message-----
>> From: PyQt [mailto:pyqt-bounces at riverbankcomputing.com] On Behalf Of
>> Phil Thompson
>> Sent: May-08-15 10:07 AM
>> To: pyqt at riverbankcomputing.com
>> Subject: Re: [PyQt] Trouble compiling qtcharts 2
>>
>> On 08/05/2015 3:32 pm, Bhavek Budia wrote:
>>> Hi,
>>>
>>> I have compiled Qt Charts 2 on windows and I am trying to compile
>>> the equivalent pyqt charts. When I run the configure.py I get this
>>> message:
>>>
>>>
>>>
>>> "Project ERROR: Unknown module(s) in QT: charts"
>>>
>>>
>>>
>>> I am not sure what to do. Please advise.
>>
>> What version of PyQtChart?
>>
>> What command line arguments did you pass to configure.py?
>>
>> Phil
>> _______________________________________________
>> PyQt mailing list PyQt at riverbankcomputing.com
>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
More information about the PyQt
mailing list