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. Qt5 + CMake: How to add QtMain?
Forum Updated to NodeBB v4.3 + New Features

Qt5 + CMake: How to add QtMain?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 2.5k 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.
  • K Offline
    K Offline
    klaim
    wrote on last edited by
    #1

    Hi,

    I upgraded my open-source code that you can see there: https://bitbucket.org/klaim/aos_qt5 to Qt5. It uses CMake.

    The only thing that I can't find in current documentation, like

    • http://qt-project.org/doc/qt-5.0/qtdoc/cmake-manual.html
    • http://qt-project.org/doc/qt-5.0/qtdoc/qtmain.html

    Is how to link with QtMain from CMake.
    I think it is the only missing bit for me.
    Can someone point me to a doc explaining this or explain how to do it with Qt5? My Qt4 code worked.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      klaim
      wrote on last edited by
      #2

      I posted this question on StackOverflow as even here I don't have any answer :P
      http://stackoverflow.com/questions/14115024/how-to-link-qtmain-in-cmake-with-qt5

      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