Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. release mode build creates only debug dlls

release mode build creates only debug dlls

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
10 Posts 4 Posters 681 Views
  • 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.
  • G Offline
    G Offline
    gperi
    wrote on last edited by
    #1

    Hi,

    I'm trying to build qt 5.12.2 in release mode using the commands:

    1. configure -nomake examples -nomake tests -opensource -qt-libpng -release
      2.. nmake install

    It seems that debug mode is built, but not release.
    I can see only dlls that their names end with d on the target folder.
    Are you familiar with this issue? How can I overcome that?

    Thank you,
    Gal

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Did you check the configure summary to see if there was anything suspicious ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • G Offline
        G Offline
        gperi
        wrote on last edited by
        #3

        Hi,

        Thanks for your response.
        What can be suspicious for instance?

        Thanks,
        Gal

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Typically that the build type select is debug rather than release.

          By the way, how did you determine that the libraries have been built in debug mode ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          ODБOïO 1 Reply Last reply
          0
          • SGaistS SGaist

            Typically that the build type select is debug rather than release.

            By the way, how did you determine that the libraries have been built in debug mode ?

            ODБOïO Offline
            ODБOïO Offline
            ODБOï
            wrote on last edited by
            #5

            @sgaist said in release mode build creates only debug dlls:

            how did you determine that the libraries have been built in debug mode ?

            @gperi said in release mode build creates only debug dlls:

            I can see only dlls that their names end with d on the target folder.

            1 Reply Last reply
            1
            • G Offline
              G Offline
              gperi
              wrote on last edited by
              #6

              "release" is written on the first summary field

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                I just realized that you are building 5.12.2. Try updating to 5.12.5.
                One additional thing, use out of source builds so if you need to restart you can just nuke the folder, create a new one and start from a clean state.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                1
                • G Offline
                  G Offline
                  gperi
                  wrote on last edited by
                  #8

                  Hi,

                  Is there a reason I should use 5.12.5 and not 5.12.2?
                  What do you mean by "out of source builds"?

                  Thanks,
                  Gal

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    Well, improvements and bug fixes that have happened in between.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • aha_1980A Offline
                      aha_1980A Offline
                      aha_1980
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      Hi @gperi,

                      What do you mean by "out of source builds"?

                      That, or shadow-building means, the build takes place in a different folder than the sources reside. The recommended way is to have this folder parallel to the sources.

                      See section "Configuring and Building" in https://wiki.qt.io/Building_Qt_5_from_Git

                      Regards

                      Qt has to stay free or it will die.

                      1 Reply Last reply
                      2

                      • Login

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