Results 1 to 5 of 5

Thread: moc-files in tarball

  1. #1
    Join Date
    Apr 2008
    Posts
    104
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 7 Times in 7 Posts

    Default moc-files in tarball

    On "make dist" there are all "moc-" files are included to the tarball. Is there any way to avoid that?

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: moc-files in tarball

    make distclean?
    J-P Nurmi

  3. #3
    Join Date
    Apr 2008
    Posts
    104
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 7 Times in 7 Posts

    Default Re: moc-files in tarball

    After "make distclean", the "make dist" doesn't work.
    Why I want to remove moc-files? Actually, I can do that manually, and then manully pack a new tarball. Moc-files in the source tarball can cause building errors when someone try to build my program on another machine.
    The simple example - my program has an optional dependency on libAspell. OpenBSD has no port for Aspell (as I was reported by OpenBSD-user). But, moc-files on my Linux Mandriva were been generated with Aspell-support and includes references to Aspell-enabled stuff. For sure, the source contains all needed "indefs" to the optional ASpell/no Aspell building, but moc-files does not rerfesh when user unpack the tarball and trying to compile the program by simple qmake, make install.

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: moc-files in tarball

    Sorry, I meant "make clean" which keeps makefiles but removes intermediate files.
    J-P Nurmi

  5. #5
    Join Date
    Apr 2008
    Posts
    104
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 7 Times in 7 Posts

    Default Re: moc-files in tarball

    The result is the same - is seems that "make dist" wants "moc_" and "qrc_" files and refuses to make a tarballs.

Similar Threads

  1. visual studio project files - adding extra files
    By luf in forum Qt Programming
    Replies: 3
    Last Post: 13th June 2008, 21:05
  2. moc with same file names?
    By cjhuitt in forum Qt Programming
    Replies: 9
    Last Post: 27th April 2007, 20:36
  3. Replies: 5
    Last Post: 22nd September 2006, 08:04
  4. [Win32/VC++ 8.0] Strange problems with qrc_*.cpp files
    By mloskot in forum Installation and Deployment
    Replies: 6
    Last Post: 6th March 2006, 10:28
  5. Visual Studio 2003 and .vcproj files
    By mbjerkne in forum General Discussion
    Replies: 2
    Last Post: 1st February 2006, 00:51

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.