On Monday 27 September 2010 23:19:21 Jon Middleton wrote: > Thanks for the quick response. That explains why QtDeclarative was not > working :) > > QTCore is working however > > So for me to use PySide and QtDeclarative, I need: > > - Qt4.7 installed > - Qt within is listed in my system > PATH: > C:\WINDOWS\System32;C:\Qt\2010.05\bin;C:\Qt\2010.05\qt\qmake;C:\Qt\2010.05 > \mingw\bin;C:\Qt\2010.05\qt\include - I have CMake 2.8 > - I got the latest clone and put it here: C:\Qt\pyside_latest > - From the command prompt: > - >> cd C:\Qt\pyside_latest > - >> cmake pyside > - This looks like it succeeded, with a few warnings: > > -- Check for working CXX compiler using: Visual Studio 10 -- works > -- Detecting CXX compiler ABI info > -- Detecting CXX compiler ABI info - done > CMake Warning at CMakeLists.txt:107 (if): > given arguments:
You have Qt4.7 compiled with MinGW but are telling cmake to use MSVC2010 compiler, this probably will not work. What compiler are you really trying to use? > "NOT" "QT_QTMULTIMEDIA_FOUND" "AND" "VERSION_GREATER" "4.5.9" > > Unknown arguments specified > > > CMake Warning at CMakeLists.txt:123 (if): > given arguments: > > "NOT" "QT_QTMAEMO5_FOUND" "AND" "VERSION_GREATER" "4.5.9" > > Unknown arguments specified > > > CMake Warning at CMakeLists.txt:140 (if): > given arguments: > > "NOT" "QT_QTDECLARATIVE_FOUND" "AND" "VERSION_GREATER" "4.6.0" > > Unknown arguments specified > > > CMake Warning (dev) at CMakeLists.txt:94 (set): > Cannot set "if_QtCore": current scope has no parent. > Call Stack (most recent call first): > CMakeLists.txt:154 (HAS_QT_MODULE) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at CMakeLists.txt:95 (set): > Cannot set "end_QtCore": current scope has no parent. > Call Stack (most recent call first): > CMakeLists.txt:154 (HAS_QT_MODULE) > This warning is for project developers. Use -Wno-dev to suppress it. > > > - Building the "Install" project generates an error, ALL_BUILD and > ZERO_CHECK succeed. > - Looking at the post build script: > - "C:\Program Files\CMake 2.8\bin\cmake.exe" -DBUILD_TYPE=Release -P > cmake_install.cmake > - So I tried that from the command line: > > C:\Qt\pyside_latest>"C:\Program Files\CMake 2.8\bin\cmake.exe" > -DBUILD_TYPE=Rele > ase -P cmake_install.cmake > -- Install configuration: "Release" > CMake Error at cmake_install.cmake:31 (FILE): > file INSTALL destination: C:/Python26/Lib/site-packages/PySide// is not a > directory. > > This error is a bit strange as it is a directory, it is where the previous > version was installed: > C:\Python26\Lib\site-packages\PySide > > Any ideas what is going on? > > Many Thanks!! > > Jon. > > On 28 September 2010 13:33, Hugo Parente Lima <[email protected]>wrote: > > On Monday 27 September 2010 21:01:29 Jon Middleton wrote: > > > Thanks for the latest update. > > > > > > I downloaded and installed the latest windows binaries from: > > > http://developer.qt.nokia.com/wiki/PySideBinariesWindows > > > > > > Running the following command line: > > > python -c "from PySide import QtDeclarative" > > > > > > I get "cannot import name QtDeclarative", it does not appear in the > > > installed location either > > > C:\Python26\Lib\site-packages\PySide > > > > The windows version was released before Qt4.7, so PySide for windows has > > only > > the Qt4.6 API, i.e. no QtDeclarative module. > > > > > QtCore does work, so I thought I would try and build the head from git. > > > > What's the error preventing QtCore module to work? > > > > > As far as I can tell In need to run CMake then build with Visual > > > Studio? > > > > > > My attempt at using CMake did not work: > > > CMake pySide > > > > > > it returns errors: > > > > > > -- QtCode NOT found. QtCore support disabled. > > > -- QtDeclarative NOT found. QtDeclarative support disabled. etc... > > > > Qt is probably not installed on your computer or it isn't in your system > > path. > > > > > Any help would be great, I want to be able to use QtDeclarative. > > > > > > Cheers, > > > Jon. > > > > Regards; > > > > -- > > Hugo Parente Lima > > INdT - Instituto Nokia de Tecnologia -- Hugo Parente Lima INdT - Instituto Nokia de Tecnologia
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PySide mailing list [email protected] http://lists.openbossa.org/listinfo/pyside
