Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. German
  4. Einstiegspunkt main() ändern in...
Forum Updated to NodeBB v4.3 + New Features

Einstiegspunkt main() ändern in...

Scheduled Pinned Locked Moved German
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.
  • C Offline
    C Offline
    cui_apu
    wrote on last edited by
    #1

    Ich möchte den Einstiegspunkt main() meines Programms ändern, also in main_2() oder ähnliches. Geht das? Und wenn ja, wie mache ich das in Qt und dem Qt Creator?

    Grund dafür ist das ich schon einen Einstiegspunkt mit dem Namen main() aus einer Library habe und diesen nicht ändern will.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      d4ex
      wrote on last edited by
      #2

      Es gibt ein eine Linkerbefehl /Entry heißt der, dem kannst du die Methode übergeben die den Einstiegspunkt darstellt. In der Pro Datei müsste man dann ein QMAKE_LFLAGS setzen.
      Schau mal hier:
      http://msdn.microsoft.com/en-us/library/f9t8842e.aspx

      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