Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Error during manual generation with QDoc

Error during manual generation with QDoc

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 172 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.
  • A Offline
    A Offline
    aliks-os
    wrote on last edited by
    #1

    During the QDoc execution I get the following error

    (qdoc) Could not parse source file "*******/Mqtt_Helper.cpp" error code: 4

    And manual for this unit was not generated.

    Various research into what could be causing this error led me to the linked file. This file is a third part. I assume that
    attribute((packed)) macros is source of issue.
    I have tryed to exclude this file in .qdocconf, but it does not helped.

    Any ideas are welcome

    #ifndef __DOMAIN_DEVICE__
    #define __DOMAIN_DEVICE__
    
    
    // --------------------------------------------------------------------------------
    // Enums
    // --------------------------------------------------------------------------------
    
    typedef enum __attribute__((packed)) {
        DOMAIN_DEVICE_ONLINE_EVENT,
        DOMAIN_DEVICE_OFFLINE_EVENT,
        DOMAIN_DEVICE_ANNOUNCEMENT_EVENT,
    } domain_device_events_t;
    
    typedef enum __attribute__((packed)) {
        DOMAIN_FIRMWARE_DEPLOYMENT_TYPE_INSTALL,
        DOMAIN_FIRMWARE_DEPLOYMENT_TYPE_STORAGE
    } domain_firmware_deployment_type_t;
    
    /**
     * @brief Connection status of device
     */
    typedef enum __attribute__((packed)) {
        DOMAIN_DEVICE_CONNECTION_STATUS_CONNECTED,
        DOMAIN_DEVICE_CONNECTION_STATUS_DISCONNECTED,
        DOMAIN_DEVICE_CONNECTION_STATUS_UNREACHABLE
    } domain_device_connection_status_t;
    
    
    #endif // __DOMAIN_DEVICE__
    
    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