Results 1 to 6 of 6

Thread: Get rid of shadow build!!!

  1. #1
    Join Date
    Jan 2012
    Location
    Iran, Tehran
    Posts
    308
    Thanks
    75
    Thanked 24 Times in 21 Posts
    Qt products
    Qt4 Qt5 PyQt3 PyQt4
    Platforms
    Unix/X11 Windows

    Default Get rid of shadow build!!!

    Is there any way to get rid of shadow build in qtCreator forever!!?
    It's driving me crazy sometime because of irrelevant errors!

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Get rid of shadow build!!!

    Uncheck shadow build in project configuration.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jan 2012
    Location
    Iran, Tehran
    Posts
    308
    Thanks
    75
    Thanked 24 Times in 21 Posts
    Qt products
    Qt4 Qt5 PyQt3 PyQt4
    Platforms
    Unix/X11 Windows

    Default Re: Get rid of shadow build!!!

    I know this way!!! But whenever i change the compiler or clean generated files the shadow build will return again!!!

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Get rid of shadow build!!!

    It doesn't do anything like that for me. Apparently you're doing something wrong.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Jan 2012
    Location
    Iran, Tehran
    Posts
    308
    Thanks
    75
    Thanked 24 Times in 21 Posts
    Qt products
    Qt4 Qt5 PyQt3 PyQt4
    Platforms
    Unix/X11 Windows

    Default Re: Get rid of shadow build!!!

    Anyway, What is the useful thing about shadow build wysota?

  6. #6
    Join Date
    Feb 2012
    Location
    Armenia/Yerevan
    Posts
    400
    Thanks
    15
    Thanked 16 Times in 15 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: Get rid of shadow build!!!

    Shadow build generates moc_ and .o files inside another -Debug directory. it never generates files inside your release Qt Project. Maybe you
    are giving the wrong directory address in project. The moc tool reads a C++ header file. If it finds one or more class declarations that contain the Q_OBJECT macro, it produces a C++ source file containing the meta-object code for those classes. Among other things, meta-object code is required for the signals and slots mechanism, the run-time type information, and the dynamic property system. The C++ source file generated by moc must be compiled and linked with the implementation of the class.
    If you use qmake to create your makefiles, build rules will be included that call the moc when required, so you will not need to use the moc directly.

  7. The following user says thank you to saman_artorious for this useful post:

    alizadeh91 (3rd March 2013)

Similar Threads

  1. Shadow build of Qt 4.7.4 failing due to syncqt not running
    By robini in forum Installation and Deployment
    Replies: 3
    Last Post: 22nd February 2012, 12:11
  2. QMake problem when using INSTALL and a shadow build directory
    By superpacko in forum Qt Tools
    Replies: 0
    Last Post: 6th September 2011, 15:43
  3. Failed to build Qt 4.7.1 in a shadow build with feature tuning
    By myfifth in forum Installation and Deployment
    Replies: 0
    Last Post: 17th February 2011, 03:25
  4. Shadow build possible using Mobile 6 SDK?
    By danielweberdlc in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 24th September 2010, 22:13
  5. Shadow build QT for the win32-g++ (MinGw) platform.
    By Avrohom in forum Installation and Deployment
    Replies: 0
    Last Post: 20th January 2009, 23:10

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.