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. Adding existing projects from "examples"
Qt 6.11 is out! See what's new in the release blog

Adding existing projects from "examples"

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 287 Views 1 Watching
  • 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
    Anonymous_Banned275
    wrote on last edited by
    #1

    Adding existing projects from "examples" I am getting this error.
    What is "proper QT build " ?
    Did I added wrong file from github?

    This is what I have in main project .pro

    SUBDIRS +=
    ../../../../../media/w/BACKUP/PROGRAM_DEV/QT/CAT_COPY/CAT_FT857/SUB_MDI
    ../../../../../media/w/BACKUP1/PROGRAM_DEV/QT/CAT_NO_BT/CAT_FT857/SUB_MDI \

    ../../SOURCE/qtconnectivity/examples/bluetooth/btscanner.pro \

    ../../SOURCE/qtconnectivity/examples/bluetooth/btscanner \
    SUB_PROJECT_MAIN
    

    Neither btscanner file is acceptable.

    :-1: error: Project ERROR: You cannot build examples inside the Qt source tree, except as part of a proper Qt build.

    For test verification I have added another existing project - no issue

    SUBDIRS +=
    ../../../../../media/w/BACKUP/PROGRAM_DEV/QT/CAT_COPY/CAT_FT857/SUB_MDI
    ../../../../../media/w/BACKUP1/PROGRAM_DEV/QT/CAT_NO_BT/CAT_FT857/SUB_MDI \

    ../../SOURCE/qtconnectivity/examples/bluetooth/btscanner.pro \

    ../../SOURCE/qtconnectivity/examples/bluetooth/btscanner \

    ../SUBPROJECTuntitled.pro \
    SUB_PROJECT_MAIN
    
    jsulmJ 1 Reply Last reply
    0
    • A Anonymous_Banned275

      Adding existing projects from "examples" I am getting this error.
      What is "proper QT build " ?
      Did I added wrong file from github?

      This is what I have in main project .pro

      SUBDIRS +=
      ../../../../../media/w/BACKUP/PROGRAM_DEV/QT/CAT_COPY/CAT_FT857/SUB_MDI
      ../../../../../media/w/BACKUP1/PROGRAM_DEV/QT/CAT_NO_BT/CAT_FT857/SUB_MDI \

      ../../SOURCE/qtconnectivity/examples/bluetooth/btscanner.pro \

      ../../SOURCE/qtconnectivity/examples/bluetooth/btscanner \
      SUB_PROJECT_MAIN
      

      Neither btscanner file is acceptable.

      :-1: error: Project ERROR: You cannot build examples inside the Qt source tree, except as part of a proper Qt build.

      For test verification I have added another existing project - no issue

      SUBDIRS +=
      ../../../../../media/w/BACKUP/PROGRAM_DEV/QT/CAT_COPY/CAT_FT857/SUB_MDI
      ../../../../../media/w/BACKUP1/PROGRAM_DEV/QT/CAT_NO_BT/CAT_FT857/SUB_MDI \

      ../../SOURCE/qtconnectivity/examples/bluetooth/btscanner.pro \

      ../../SOURCE/qtconnectivity/examples/bluetooth/btscanner \

      ../SUBPROJECTuntitled.pro \
      SUB_PROJECT_MAIN
      
      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @AnneRanch said in Adding existing projects from "examples":

      ../../SOURCE/qtconnectivity/examples/bluetooth/btscanner.pro

      Why do you have pro file in SUBDIRS list?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      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