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. Problems with MAC (string.h: No such file or directory) [solved]

Problems with MAC (string.h: No such file or directory) [solved]

Scheduled Pinned Locked Moved Installation and Deployment
74 Posts 4 Posters 50.6k 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.
  • J Offline
    J Offline
    JorgeVdB
    wrote on last edited by
    #61

    Then, what I have to do?

    Copy the library and overwrite in the qt.conf??

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

      First thing, copy the library (don't forget to update its paths) and try to run your application.

      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
      • J Offline
        J Offline
        JorgeVdB
        wrote on last edited by
        #63

        After two months, my application works!!!!! without qmltooling plugin...

        But now I have one doubt, I hope the last one ;-)

        The original bundle has an icon, and I have watched that in the qt.conf do a reference to this icon.

        How I change this icon?

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

          Do you mean the icon that is shown to the user ? (i.e. the music note for iTunes ?)

          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
          • J Offline
            J Offline
            JorgeVdB
            wrote on last edited by
            #65

            yes...

            Thank you, before I forget...

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

              Add this

              @
              <key>CFBundleIconFile</key>
              <string>myApp.icns</string>
              @

              To your Info.plist

              And put the myApp.icns in your bundle Contents/Resources folder

              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
              • J Offline
                J Offline
                JorgeVdB
                wrote on last edited by
                #67

                Done.... but no change... What I have to do now??

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

                  In your pro file:

                  @
                  ICON = myApp.icns
                  QMAKE_INFO_PLIST = Info.plist@

                  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
                  • J Offline
                    J Offline
                    JorgeVdB
                    wrote on last edited by
                    #69

                    And compile and link the libraries once again???

                    No other way???

                    I am watching, that in the original .pro file no appear this line, and the original developer used this .pro file.

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      JorgeVdB
                      wrote on last edited by
                      #70

                      I continue research, and when I change things in the info.plist with the Property List Editor nothing change.

                      Even I changed the name of the Executable.

                      1 Reply Last reply
                      0
                      • J Offline
                        J Offline
                        JorgeVdB
                        wrote on last edited by
                        #71

                        You don't care, when I make the installer the icon appear...

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

                          Personally, I rebuild the application whenever I make changes to one of it's component so as to say it's mandatory for the icon to be updated, I don't know (there might be some caching done under the hood).

                          I don't get your last message.

                          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
                          • J Offline
                            J Offline
                            JorgeVdB
                            wrote on last edited by
                            #73

                            Finally I deliver the project, so thank you so much!!!

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

                              You're welcome !

                              Don't forget to update the thread's title appending solved so other forum users may know a solution has been found :)

                              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

                              • Login

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