Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. macro
    Log in to post

    • UNSOLVED Learning & Undertanding Q_DECLARE_PRIVATE/PUBLIC macros/sdk.
      General and Desktop • library sdk macro macros private api • • Dariusz  

      11
      0
      Votes
      11
      Posts
      326
      Views

      If doStuff() is not const, then don't declare d pointer as const: Q_D(myClass) // NO "const" here! d->doStuff();
    • UNSOLVED not enough arguments for function-like macro invocation 'realloc'
      General and Desktop • include macro realloc • • gragas  

      8
      0
      Votes
      8
      Posts
      599
      Views

      Hi, Adding link to the corresponding code review.
    • UNSOLVED QtCreator - Clang Code Model Version
      Tools • qtcreator clang macro version • • andreaplanet  

      1
      0
      Votes
      1
      Posts
      315
      Views

      No one has replied

    • UNSOLVED qt - undefined reference to `vtable for myObj' in qt console application - signals and slots
      General and Desktop • qt 5.7 qobject class macro vtable • • CybeX  

      11
      0
      Votes
      11
      Posts
      6719
      Views

      @yuvaram If so, compile it with Network Download Example, which is officially available from Qt.
    • SOLVED Q_SLOTS vs slots
      Portuguese • slots macro • • Exotic_Devel  

      2
      0
      Votes
      2
      Posts
      1377
      Views

      @Exotic_Devel said: Q_SLOTS Usar a macro em vez da keyword é recomendada quando você usa outras bibliotecas que podem colidir com o Qt em relação aos signals/slots, que é o caso do Boost.
    • Macro definition at runtime
      General and Desktop • runtime macro • • Jessica  

      5
      0
      Votes
      5
      Posts
      1236
      Views

      @Jessica you're welcomed. Please don't forget to mark the post as solved.
    • Determine which modules were loaded in the .pro file, using preprocessor #ifdef
      General and Desktop • module macro preprocessor ifdef • • DerManu  

      2
      0
      Votes
      2
      Posts
      1043
      Views

      Hi, QT_NO_PRINTER is (or not) defined when compiling Qt, not when loading or not a module. One thing you could is the qtHaveModule() function in your pro file and create the defines you need there. Hope it helps