Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. German
  4. Icons in Qt Application einbinden
Forum Updated to NodeBB v4.3 + New Features

Icons in Qt Application einbinden

Scheduled Pinned Locked Moved German
15 Posts 3 Posters 6.1k Views 2 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.
  • raven-worxR raven-worx

    @Galilio
    das VS plugin sollte für die qrc datei in deinem Projekt einen custom build step einfügen (welches RCC aufruft und die qrc_XXX.cpp Datei generiert)
    Die qrc_XXX.cpp Datei muss dann auch wie jeder andere source code mit der Anwendung mitkompiliert werden.

    Normalerweise erstellt dies das Plugin alles von selbst, sobald der Inhalt der .qrc Datei bearbeitet/gespeichert wird.

    G Offline
    G Offline
    Galilio
    wrote on last edited by
    #6

    @raven-worx
    Hallo,

    Das ist im normalen Fall.
    Gibt es irgendwie eine Möglichkeit, ihm zu zwingen, dass die fehlende dateien zu generiren?

    Danke

    raven-worxR 1 Reply Last reply
    0
    • G Galilio

      @raven-worx
      Hallo,

      Das ist im normalen Fall.
      Gibt es irgendwie eine Möglichkeit, ihm zu zwingen, dass die fehlende dateien zu generiren?

      Danke

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #7

      @Galilio
      funktionieren die moc steps denn eigentlich korrekt? Weil da ist das Prinzip genau dasselbe.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      G 1 Reply Last reply
      0
      • raven-worxR raven-worx

        @Galilio
        funktionieren die moc steps denn eigentlich korrekt? Weil da ist das Prinzip genau dasselbe.

        G Offline
        G Offline
        Galilio
        wrote on last edited by
        #8

        @raven-worx
        ja

        Es wird leider nur die qrc_Application.cpp nicht generiert. Ansonsten ist alles gut

        raven-worxR 1 Reply Last reply
        0
        • G Galilio

          @raven-worx
          ja

          Es wird leider nur die qrc_Application.cpp nicht generiert. Ansonsten ist alles gut

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by raven-worx
          #9

          @Galilio
          und du verwendest die v2.0 des offiziellen Qt5 VS plugins?
          (Und nicht die inoffizielle Version)

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          G 1 Reply Last reply
          0
          • raven-worxR raven-worx

            @Galilio
            und du verwendest die v2.0 des offiziellen Qt5 VS plugins?
            (Und nicht die inoffizielle Version)

            G Offline
            G Offline
            Galilio
            wrote on last edited by
            #10

            @raven-worx

            Das habe ich
            https://visualstudiogallery.msdn.microsoft.com/c89ff880-8509-47a4-a262-e4fa07168408/view/Discussions/3

            und mit dem gleichen Plugin habe ich vor 2 oder 3 Wochen eine Project erstellt und war das Problem nicht da.

            raven-worxR 1 Reply Last reply
            0
            • G Galilio

              @raven-worx

              Das habe ich
              https://visualstudiogallery.msdn.microsoft.com/c89ff880-8509-47a4-a262-e4fa07168408/view/Discussions/3

              und mit dem gleichen Plugin habe ich vor 2 oder 3 Wochen eine Project erstellt und war das Problem nicht da.

              raven-worxR Offline
              raven-worxR Offline
              raven-worx
              Moderators
              wrote on last edited by raven-worx
              #11

              @Galilio
              genau dieses ist das inoffizielle von dem ich gepsprochen habe. Welches auch bekannte Probleme hat. Ob nun auch deines eines davon ist habe ich keine Ahnung.

              Empfehle dir das offizielle Plugin zu verwenden.

              --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
              If you have a question please use the forum so others can benefit from the solution in the future

              G 1 Reply Last reply
              0
              • raven-worxR raven-worx

                @Galilio
                genau dieses ist das inoffizielle von dem ich gepsprochen habe. Welches auch bekannte Probleme hat. Ob nun auch deines eines davon ist habe ich keine Ahnung.

                Empfehle dir das offizielle Plugin zu verwenden.

                G Offline
                G Offline
                Galilio
                wrote on last edited by
                #12

                @raven-worx
                Ich habe jetzt die alte inoffizielle Version desintalliert und die neue Version installiert aber es ändert sich nicht.
                Es können keine qrc_App.cpp generiert werden.

                raven-worxR 1 Reply Last reply
                0
                • G Galilio

                  @raven-worx
                  Ich habe jetzt die alte inoffizielle Version desintalliert und die neue Version installiert aber es ändert sich nicht.
                  Es können keine qrc_App.cpp generiert werden.

                  raven-worxR Offline
                  raven-worxR Offline
                  raven-worx
                  Moderators
                  wrote on last edited by
                  #13

                  @Galilio
                  hmm.
                  wie genau hast du das vcxproj Projekt erstellt? Eine .pro Datei importiert?

                  Du kannst auch mal versuchen aus dem "Qt VS Tools" Menü den Punkt "Convert Project to Qmake generated Project" auswählen.

                  Ehrlich gesagt ich weiß nicht genau was der macht, aber es hat schon manchmal geholfen :)

                  Backup vorher nicht vergessen!

                  --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                  If you have a question please use the forum so others can benefit from the solution in the future

                  G 2 Replies Last reply
                  0
                  • raven-worxR raven-worx

                    @Galilio
                    hmm.
                    wie genau hast du das vcxproj Projekt erstellt? Eine .pro Datei importiert?

                    Du kannst auch mal versuchen aus dem "Qt VS Tools" Menü den Punkt "Convert Project to Qmake generated Project" auswählen.

                    Ehrlich gesagt ich weiß nicht genau was der macht, aber es hat schon manchmal geholfen :)

                    Backup vorher nicht vergessen!

                    G Offline
                    G Offline
                    Galilio
                    wrote on last edited by
                    #14

                    @raven-worx said in Icons in Qt Application einbinden:

                    @raven-worx

                    wie genau hast du das vcxproj Projekt erstellt?
                    @ Das alten projekt einfach mit dem Visual studio 2015 migriert, daraus wird es auch eine neue vcxproj generiert.
                    @raven-worx
                    Eine .pro Datei importiert?
                    @ Es gab kein .pro Datei zu importieren
                    @raven-worx
                    Du kannst auch mal versuchen aus dem "Qt VS Tools" Menü den Punkt "Convert Project to Qmake generated Project" auswählen.
                    @ Ich habe das gemacht und dann könnte ich nicht mehr das projekt kompilieren.
                    Ich bekomme folgende Fehlermeldung:

                    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(638,5):
                     error MSB6001: Invalid command line switch for "link.exe".
                     The value ["MyApplication] contains an odd number of double-quote characters. 
                     Only even numbers of literal double-quote characters are acceptable to command line tools.
                    

                    @raven-worx

                    Ehrlich gesagt ich weiß nicht genau was der macht, aber es hat schon manchmal geholfen :)
                    Backup vorher nicht vergessen
                    @ Ich weiss auch nicht was wird damt gemacht aber eine ist sicher projekt könnte nicht mehr kompiliert werden.
                    Zum Glück habe ich einen Backup erstellt.

                    1 Reply Last reply
                    0
                    • raven-worxR raven-worx

                      @Galilio
                      hmm.
                      wie genau hast du das vcxproj Projekt erstellt? Eine .pro Datei importiert?

                      Du kannst auch mal versuchen aus dem "Qt VS Tools" Menü den Punkt "Convert Project to Qmake generated Project" auswählen.

                      Ehrlich gesagt ich weiß nicht genau was der macht, aber es hat schon manchmal geholfen :)

                      Backup vorher nicht vergessen!

                      G Offline
                      G Offline
                      Galilio
                      wrote on last edited by
                      #15

                      @raven-worx
                      Gibt es eine Möglichkeit das Projekt zu zwingen die fehlende dateien zu generiren?
                      Danke

                      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