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. White spaces in path not addressed by qmake while generating Makefile
Forum Update on Monday, May 27th 2025

White spaces in path not addressed by qmake while generating Makefile

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 4.1k 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.
  • H Offline
    H Offline
    hemntkmr
    wrote on last edited by
    #1

    The Makefile generated by qmake does not handle paths with white spaces while generating moc files.

    eg) Makefile would contain

    moc_foo.cpp:
    /Developer/Tools/Qt/moc $(DEFINES) $(INCPATH) -D__APPLE__ -D__GNUC__ ../My Folder/foo.h -o moc_foo.cpp

    This results in too many input files error.

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

      Maybe "this":http://doc.trolltech.com/latest/qmake-project-files.html#whitespace would help you..

      1 Reply Last reply
      0
      • H Offline
        H Offline
        hemntkmr
        wrote on last edited by
        #3

        Tried that but it did not help have the same issue still.

        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