Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How change moc options with qtcraetor?
Forum Updated to NodeBB v4.3 + New Features

How change moc options with qtcraetor?

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
4 Posts 2 Posters 385 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.
  • V Offline
    V Offline
    VikiWang
    wrote on last edited by
    #1

    I want add “-b stdafx.h” option to moc command with qtcreator, how should i do ? Under windows i complete this by QT VS Tools like this:
    30000afc-27b2-4840-b76f-24388da0398a-图片.png

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      What buildsystem do you use? When you use cmake and CMAKE_AUTOMOC see https://cmake.org/cmake/help/latest/prop_tgt/AUTOMOC_MOC_OPTIONS.html#prop_tgt:AUTOMOC_MOC_OPTIONS

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      V 1 Reply Last reply
      2
      • Christian EhrlicherC Christian Ehrlicher

        What buildsystem do you use? When you use cmake and CMAKE_AUTOMOC see https://cmake.org/cmake/help/latest/prop_tgt/AUTOMOC_MOC_OPTIONS.html#prop_tgt:AUTOMOC_MOC_OPTIONS

        V Offline
        V Offline
        VikiWang
        wrote on last edited by
        #3

        @Christian-Ehrlicher I use qmake !

        Christian EhrlicherC 1 Reply Last reply
        0
        • V VikiWang

          @Christian-Ehrlicher I use qmake !

          Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @VikiWang For qmake I don't know. If you don't find something in the qmake reference I think you're out of luck.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          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