Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. What's the difference between "-no-stl" and "-stl"
Qt 6.11 is out! See what's new in the release blog

What's the difference between "-no-stl" and "-stl"

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 1.3k 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.
  • O Offline
    O Offline
    oiniya
    wrote on last edited by
    #1

    If I build the QT Lib with "-no-stl" option what will happen?
    eg: The "std::string QString::toStdString() const" function will be unusable?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      This option is pretty much obsolete (it has been removed in Qt5).

      If you disable STL, Qt containers will use their own, custom implementation. I think the QString method you mention is not affected by this, but please test.

      (Z(:^

      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