Results 1 to 2 of 2

Thread: Deploying PyQt5 QtQuick application with pyinstaller: 'module "QtQuick" not installed

  1. #1
    Join Date
    Feb 2010
    Location
    Brazil
    Posts
    23
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Deploying PyQt5 QtQuick application with pyinstaller: 'module "QtQuick" not installed

    I've tried to deploy one of the PyQt5 examples, the one in C:\Python34\Lib\site-packages\PyQt5\examples\quick\models\stringlistmod el using pyinstaller.

    I ran pyinstaller in that directory, and it generated the build and dist folders. When I try to run the executable in the dist folder, I get the following error:

    qrc:view.qml:41:1: module "QtQuick" is not installed

    How can I solve this?

  2. #2
    Join Date
    Feb 2010
    Location
    Brazil
    Posts
    23
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Deploying PyQt5 QtQuick application with pyinstaller: 'module "QtQuick" not insta

    I figured it out. I had to copy the file C:\Python34\Lib\site-packages\PyQt5\qml\QtQuick.2\qmldir to C:\Python34\Lib\site-packages\PyQt5\examples\quick\models\stringlistmod el\dist\stringlistmodel\qml\QtQuick.2. I think pyinstaller should've copied that as well, but it didn't.

Similar Threads

  1. module "QtQuick" version 2.5 is not installed
    By kristian1112 in forum Newbie
    Replies: 0
    Last Post: 9th December 2015, 13:51
  2. QML: module "QtQuick.Controls" plugin "qtquickcontrolsplugin" not found on iOS
    By ChristianH in forum Installation and Deployment
    Replies: 0
    Last Post: 22nd August 2015, 17:53
  3. Error: plugin cannot be loaded for module "QtQuick".
    By user_mail07 in forum Qt Quick
    Replies: 2
    Last Post: 25th April 2015, 13:49
  4. Replies: 32
    Last Post: 25th August 2012, 23:10
  5. error:module "com.nokia.symbian" is not installed
    By vinayaka in forum Qt Programming
    Replies: 1
    Last Post: 26th February 2012, 07:39

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.