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. Creator project file: Widgets
Forum Updated to NodeBB v4.3 + New Features

Creator project file: Widgets

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 302 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.
  • PsnarfP Offline
    PsnarfP Offline
    Psnarf
    wrote on last edited by
    #1

    When we create a new Qt Widgets project in Creator, is it still necessary to check for version 4 in the project file? Is it too soon to change?

    greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
    vs
    QT += widgets
    
    jsulmJ 1 Reply Last reply
    0
    • CKurduC Offline
      CKurduC Offline
      CKurdu
      wrote on last edited by
      #2

      I think no. Also after I have learnt the cmake , I don't think qmake also necessary for many situations :).

      You reap what you sow it

      1 Reply Last reply
      0
      • PsnarfP Psnarf

        When we create a new Qt Widgets project in Creator, is it still necessary to check for version 4 in the project file? Is it too soon to change?

        greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
        vs
        QT += widgets
        
        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @Psnarf If you do not want to support Qt 4 you don't need that version check.

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

        PsnarfP 1 Reply Last reply
        2
        • jsulmJ jsulm

          @Psnarf If you do not want to support Qt 4 you don't need that version check.

          PsnarfP Offline
          PsnarfP Offline
          Psnarf
          wrote on last edited by
          #4

          @jsulm
          Thank you. I can easily delete the version check that Creator automatically inserts into the project file. There is, indeed, a lot of Qt4 still active.

          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