Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QMake doesnt do simple things in Windows
Qt 6.11 is out! See what's new in the release blog

QMake doesnt do simple things in Windows

Scheduled Pinned Locked Moved General and Desktop
9 Posts 2 Posters 3.5k 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.
  • P Offline
    P Offline
    prsolucoes
    wrote on last edited by
    #1

    Hi,

    I have created a project that will compile SFML in all platforms.

    You can get project here:
    "https://github.com/prsolucoes/sfml-project":https://github.com/prsolucoes/sfml-project

    When you download, you will see that the .pro file have 3 builds (one for each platforms).
    The mac version is OK. The linux version is not implemented yet.
    And the windows version is what im trying finish now.
    The project is compiled with success, the problem is when i try copy all dlls to destination path and
    put the icon in .EXE file, like i do with mac final binary.
    It doesnt work with or without shadown build. Can anyone download the project and try help me on windows?

    Im using last qt sdk.

    1 Reply Last reply
    0
    • V Offline
      V Offline
      VanDerSam
      wrote on last edited by
      #2

      Please read section "Setting the Application Icon" in Qt Documentation.

      1 Reply Last reply
      0
      • P Offline
        P Offline
        prsolucoes
        wrote on last edited by
        #3

        And about copy dlls to output dir?

        1 Reply Last reply
        0
        • V Offline
          V Offline
          VanDerSam
          wrote on last edited by
          #4

          Please see pro-files from Qwt library source code. It's a good example of installation configuration.

          1 Reply Last reply
          0
          • P Offline
            P Offline
            prsolucoes
            wrote on last edited by
            #5

            Hi,

            I see it, but the build files of Qwt, copy all files to a fixed directory "C:\Qwt...." and i want the output folder of Qt in windows.

            1 Reply Last reply
            0
            • V Offline
              V Offline
              VanDerSam
              wrote on last edited by
              #6

              Test value of DESTDIR before
              @fml-library.path = $${DESTDIR}@

              operator.

              1 Reply Last reply
              0
              • P Offline
                P Offline
                prsolucoes
                wrote on last edited by
                #7

                Im already use it. But doesnt works. I got error. Path is empty. DESTDIR is empty always.

                1 Reply Last reply
                0
                • V Offline
                  V Offline
                  VanDerSam
                  wrote on last edited by
                  #8

                  You should determine its value for yourself.

                  1 Reply Last reply
                  0
                  • P Offline
                    P Offline
                    prsolucoes
                    wrote on last edited by
                    #9

                    Hi,

                    The problem with it was solved. I made another solution, as you can see in the .pro file on github.

                    Analysing the Makefile i see the variables that represent output dir for windows and solve the problem.

                    Thanks.

                    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