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. Qt Libs error
Forum Updated to NodeBB v4.3 + New Features

Qt Libs error

Scheduled Pinned Locked Moved General and Desktop
16 Posts 3 Posters 8.9k 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.
  • M Offline
    M Offline
    mitchelhajime
    wrote on last edited by
    #6

    do not use '' at the end when not breaking the line

    If I don't use the '' the Qt show me error ("library ...lqjson not found").

    1 Reply Last reply
    0
    • G Offline
      G Offline
      gmaro
      wrote on last edited by
      #7

      mitchelhajime, no mater you do, you won't compile this project on ubuntu. Also it seems you just don't have the qjson lib.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mitchelhajime
        wrote on last edited by
        #8

        [quote author="gmaro" date="1333667746"]mitchelhajime, no mater you do, you won't compile this project on ubuntu. Also it seems you just don't have the qjson lib.[/quote]

        :/ I installed qjson with ubuntu's repository... Is better I download the library and compile in terminal or Qt?

        1 Reply Last reply
        0
        • G Offline
          G Offline
          gmaro
          wrote on last edited by
          #9

          [quote author="mitchelhajime" date="1333668065"]
          :/ I installed qjson with ubuntu's repository... Is better I download the library and compile in terminal or Qt?[/quote]

          That's fine, you just need to check where it is and pass the correct path.

          But still, I think you've missed this:
          [quote author="1+1=2" date="1333667188"];-) libraries such as advapi32.lib setupapi.lib or libadvapi32.a libsetupapi.a are all Windows special.[/quote]

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mitchelhajime
            wrote on last edited by
            #10

            But still, I think you've missed this:
            [quote author="1+1=2" date="1333667188"];-) libraries such as advapi32.lib setupapi.lib or libadvapi32.a libsetupapi.a are all Windows special.[/quote]

            [/quote]

            Ah.. this library's I found for linux too.. one is in the mingw32 for linux

            1 Reply Last reply
            0
            • D Offline
              D Offline
              dbzhang800
              wrote on last edited by
              #11

              [quote author="mitchelhajime" date="1333668523"]

              Ah.. this library's I found for linux too.. one is in the mingw32 for linux[/quote]

              If you really want to cross-compile the project, you should compile the Qt using the cross-compiler first. All of course, you will come with many many problems, but once done, you will be a Specialist in Qt area.

              However, I don't know: what is the project for? why you want to compile a windows project under linux? ....

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mitchelhajime
                wrote on last edited by
                #12

                [quote author="1+1=2" date="1333669466"]
                [quote author="mitchelhajime" date="1333668523"]

                Ah.. this library's I found for linux too.. one is in the mingw32 for linux[/quote]

                If you really want to cross-compile the project, you should compile the Qt using the cross-compiler first. All of course, you will come with many many problems, but once done, you will be a Specialist in Qt area.

                However, I don't know: what is the project for? why you want to compile a windows project under linux? ....[/quote]

                It is a program that talks to a hardware to get and send data with interface (for the customers).
                I need to make this run in linux and windows. :/

                Thanks for help I go to read about Cross-Compiling now :)

                1 Reply Last reply
                0
                • D Offline
                  D Offline
                  dbzhang800
                  wrote on last edited by
                  #13

                  ;(

                  You are on the wrong way now, you should know that, the result of cross-compiling is a windows application. After successfully(If you really can do this) compiled, you will need a windows system to run it!

                  If all you use is a serial port, it will be very easy.

                  Forget this .pro file, write a right one.

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    mitchelhajime
                    wrote on last edited by
                    #14

                    [quote author="1+1=2" date="1333670506"];(

                    You are on the wrong way now, you should know that, the result of cross-compiling is a windows application. After successfully(If you really can do this) compiled, you will need a windows system to run it!

                    If all you use is a serial port, it will be very easy.

                    Forget this .pro file, write a right one.[/quote]

                    I agree it's pretty easy to make a program that configures the hardware and send (for one website) and receive data (for sensors) , but I need to do with with graphical interface and linux for end user.

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      dbzhang800
                      wrote on last edited by
                      #15

                      What I mean is, write a cross-platform serialport application with GUI is rather easy too.

                      But you have make an easy problem become complexed, as you get a platform special project file, and you want to compile it under another platform.

                      Cross-platform examples can be found from google too. such as

                      http://docs.qextserialport.googlecode.com/hg/1.2/examples-uartassistant.html

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        mitchelhajime
                        wrote on last edited by
                        #16

                        [quote author="1+1=2" date="1333671273"]What I mean is, write a cross-platform serialport application with GUI is rather easy too.

                        But you have make an easy problem become complexed, as you get a platform special project file, and you want to compile it under another platform.

                        Cross-platform examples can be found from google too. such as

                        http://docs.qextserialport.googlecode.com/hg/1.2/examples-uartassistant.html[/quote]

                        Thanks after I used part of this lib's example for made the project but I had to add a timer and a customizable filter for the output data.

                        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