Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Making a Windows release
Forum Updated to NodeBB v4.3 + New Features

Making a Windows release

Scheduled Pinned Locked Moved QML and Qt Quick
12 Posts 2 Posters 4.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jech
    wrote on last edited by
    #1

    Hi,

    I tried to "compile" my PySide/QML application on Windows. I tried both cx_Freeze and py2exe. The result of both is the same - a blank window.

    After running the .exe, all I get is a completely white window with decoration. It starts and quits without any errors.

    I tried even a very simple example with the same result.I have no idea what should I check and what could be wrong.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kyleplattner
      wrote on last edited by
      #2

      I have had all kinds of struggles with this, though I am not using python bindings, just mobility plugins.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jech
        wrote on last edited by
        #3

        Call me a total idiot please. I simply forgot to copy my .qml files to the "dist" directory. It works perfectly now. What is strange, that Python didn't report the error.

        1 Reply Last reply
        0
        • K Offline
          K Offline
          kyleplattner
          wrote on last edited by
          #4

          I tried doing the same thing without success.

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jech
            wrote on last edited by
            #5

            [quote author="kyleplattner" date="1295996868"]I tried doing the same thing without success.[/quote]

            Could you tell me more details, please?

            1 Reply Last reply
            0
            • K Offline
              K Offline
              kyleplattner
              wrote on last edited by
              #6

              I'm not sure what helpful details I can even provide. It returns a blank window without any errors.

              1 Reply Last reply
              0
              • J Offline
                J Offline
                jech
                wrote on last edited by
                #7

                And have you tried py2exe or cx_Freze? I use py2exe and it works good for me...

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  kyleplattner
                  wrote on last edited by
                  #8

                  Are those utilities specifically for using Python bindings?

                  1 Reply Last reply
                  0
                  • J Offline
                    J Offline
                    jech
                    wrote on last edited by
                    #9

                    No, I use py2exe with both PyGtk and PySide, you can use it with console programs too.

                    1 Reply Last reply
                    0
                    • K Offline
                      K Offline
                      kyleplattner
                      wrote on last edited by
                      #10

                      Can these utilities run on OS X?

                      1 Reply Last reply
                      0
                      • J Offline
                        J Offline
                        jech
                        wrote on last edited by
                        #11

                        Sorry, I have no idea. I only use Windows and Linux. But I believe these utilities are targeted at Windows only.

                        1 Reply Last reply
                        0
                        • K Offline
                          K Offline
                          kyleplattner
                          wrote on last edited by
                          #12

                          Thanks for the help anyway.

                          1 Reply Last reply
                          0

                          • Login

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Groups
                          • Search
                          • Get Qt Extensions
                          • Unsolved