Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Makefile unintentional line wrap
Qt 6.11 is out! See what's new in the release blog

Makefile unintentional line wrap

Scheduled Pinned Locked Moved Qt Creator and other tools
5 Posts 2 Posters 2.7k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    qmake generates these lines in Makefile:
    @DESTDIR = ....\lib
    TARGET = libQtCore.so.4.7.3@

    But it leads to that $(DESTDIR) actually equal to "....\lib
    TARGET = libQtCore.so.4.7.3"
    and $(TARGET) is null.

    How handle this problem?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      How do you define DESTDIR in your .pro file?

      (Z(:^

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        I dont know. I just wanna cross-compile Qt 4.7.3 libs as it is on windows to arm linux with code sourcery arm-none-linux-gnueabi compiller.

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          I do not understand your answer, please rephrase.

          Cross compilation is a complicated business. Looks like Windows file paths are getting in your way. Since you want to compile to Linux ARM code, best use a Linux PC for cross-compilation.

          I also recommend using the newest Qt version available. Qt 4.7.3 is very old.

          (Z(:^

          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            These .pro files are provided by Qt. I just add to mkspec file "QMAKE_DIR_SEP = \", because there was error.

            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
            • Unsolved