Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Adding lib files and their paths in .pro file [Closed]
Forum Updated to NodeBB v4.3 + New Features

Adding lib files and their paths in .pro file [Closed]

Scheduled Pinned Locked Moved Mobile and Embedded
49 Posts 7 Posters 28.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.
  • G Offline
    G Offline
    goetz
    wrote on last edited by
    #34

    Do yourself and all contributors here a favor and start from scratch. Your baby project does not need to be split up into a myriad of single subprojects including DLLs (you will not bother us with DLL, library and plugin errors, won't you?).

    Collect all the relevatn .cpp and .h files, put them into a single directory and make a single project out of it by writing a new .pro file from scratch.

    Sorry if I sound a bit rude, but from your knowledge of Qt in particular and C++ and development skills in general you are far far away from being able to manage project with subprojects.

    http://www.catb.org/~esr/faqs/smart-questions.html

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #35

      [quote author="imrrk" date="1303815401"]ok..but whether the code which i have sent you is correct and the whether the files which i have included in my pro file are correct?[/quote]

      If you get a linking error, do you think what you have now is correct?

      1 Reply Last reply
      0
      • I Offline
        I Offline
        imrrk
        wrote on last edited by
        #36

        volker,i think many things will be new to everyone in this world,few things might be new to you also,and if i need to learn it i have to,i cant follow the alternate approach,if i will i can achieve it ,and i am not rude and angry on anyone,and and you masters can only help us beginners to become masters like you and I think by sharing knowledge only knowledge increase.`So I want to learn it and I will learn it

        thanks
        imrrk

        1 Reply Last reply
        0
        • I Offline
          I Offline
          imrrk
          wrote on last edited by
          #37

          no andre,I am just asking whether my approach is correct..

          regards
          imrrk

          1 Reply Last reply
          0
          • A Offline
            A Offline
            andre
            wrote on last edited by
            #38

            Did you find out what your linker error is about yet? What file or method is your linker complaining about?

            imrrk, as you have been told before, you're not an easy one to provide help to. You respond badly to suggestions, and show very, very little understanding of programming in general, programing in C++ in particular and of Qt especially, nor an inclination to do some research of your own. That is tiresome for people trying to help you, and takes away from the attention more advanced people on this forum can give to other people asking questions. I'm sure you have been referred to "this FAQ":http://www.catb.org/~esr/faqs/smart-questions.html before, but I will again. Please read it carefully. It may help you understand why people here sometimes get frustrated with the stream of questions that you post here (and in other places, I understand).

            1 Reply Last reply
            0
            • I Offline
              I Offline
              imrrk
              wrote on last edited by
              #39

              hello andre,I solved the error,thanks a lot,actually andre I am still a learner,and I aplogize if I have gone wrong in communicating..Now I am able to open a dialog present in another project on a button click.
              now similarly I tried to open a mainwindow.ui present in another project by the below code

              @void Dialog1::on_pushButton_2_clicked()
              {
              MainWindow *b=new MainWindow;
              b->showMaximized();
              }@
              and i succeed in opening the mainwindow,but the issue is that the size shrinks when it gets open,may i know the reason for this.

              regards
              imrrk

              1 Reply Last reply
              0
              • I Offline
                I Offline
                imrrk
                wrote on last edited by
                #40

                Hello friends,can any one tell me why i am getting the above problem that i have posted in above post..

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  giesbert
                  wrote on last edited by
                  #41

                  Hey imrrk, you needn't post a reminder in the forum.
                  If someone knows the answer, he /she will answer.

                  And we are not sitting each second in font of DevNet :-)

                  Nokia Certified Qt Specialist.
                  Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

                  1 Reply Last reply
                  0
                  • I Offline
                    I Offline
                    imrrk
                    wrote on last edited by
                    #42

                    oh sorry gerolf,i hope you might know this and please help me out.

                    1 Reply Last reply
                    0
                    • I Offline
                      I Offline
                      imrrk
                      wrote on last edited by
                      #43

                      the maindialog which i am calling contains a text box and button,and when i call it through a dialog,it gets open but layout changes,if the same thing if i did with dialog the layout wont change..

                      1 Reply Last reply
                      0
                      • I Offline
                        I Offline
                        imrrk
                        wrote on last edited by
                        #44

                        hello everyone ,through the discussion in this thread,i learnt an important aspect of integrating subprojects into one project,by creating a .pri file and including it into the main project.pro file and its work perfectly well and thank all the qt experts who helped me out in learning this,

                        Now their is one more approach of integrating the subprojects i.e creating dll or static lib ,but I dont know this approch ,but i want to learn it,so qt experts ,please help me out

                        regards
                        imrrk

                        1 Reply Last reply
                        0
                        • D Offline
                          D Offline
                          DenisKormalev
                          wrote on last edited by
                          #45

                          imrrk, please, don't write ping messages in 1.5 hours after your previous message. I've deleted it for now.

                          1 Reply Last reply
                          0
                          • I Offline
                            I Offline
                            imrrk
                            wrote on last edited by
                            #46

                            hello denis, sorry for that,please help me out

                            1 Reply Last reply
                            0
                            • G Offline
                              G Offline
                              giesbert
                              wrote on last edited by
                              #47

                              Hi imrrk,

                              if someone reads the message, and can answer and has time, he will do, I'm sure. And if they have more questions for clarification, they will ask.

                              And if you have some additional stuff to add after you last post, and there is no post in between, please use the edit link and edit your post.

                              Thanks

                              Nokia Certified Qt Specialist.
                              Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

                              1 Reply Last reply
                              0
                              • I Offline
                                I Offline
                                imrrk
                                wrote on last edited by
                                #48

                                hey gerolf ,you already know my problem so why dont you help me out..

                                regards
                                imrrk

                                1 Reply Last reply
                                0
                                • A Offline
                                  A Offline
                                  andre
                                  wrote on last edited by
                                  #49

                                  OK, that's it. Closing pending discussion among moderators on how to deal with this. Note that I'll do the same to any new threads you try to open on this or on related issues, so I recommend you don't do that.

                                  Edit:
                                  There is consensus among moderators (and admins) that this thread will stay closed.

                                  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