QtDropbox icon indicating copy to clipboard operation
QtDropbox copied to clipboard

Trying to run Test

Open tirbalf opened this issue 8 years ago • 1 comments

Hello Daniel. Sorry my english is not very good. I'm trying to run the Test program that comes with the zip but I really don't know how to do it. I'm using QtCreator fow windows 5.5.1. I have created proyect called test, inside the src folder, qtdropboix folder. Inside qtdropboxfilder is:

02/04/2016 18:41 <DIR> . 02/04/2016 18:41 <DIR> .. 09/11/2015 10:07 245 .gitignore 09/11/2015 10:07 796 .travis.yml 09/11/2015 10:07 377 AUTHORS.md 09/11/2015 10:07 35.146 GPL 09/11/2015 10:07 1.481 INSTALL.md 02/04/2016 18:41 399 libqtdropbox.pri 09/11/2015 10:07 7.650 LICENCE 09/11/2015 10:07 1.031 QtDropbox-Info.plist 09/11/2015 10:07 740 qtdropbox.config.pri 02/04/2016 15:07 3.243.312 QtDropbox.dll 09/11/2015 10:07 587 qtdropbox.pri 09/11/2015 10:07 735 qtdropbox.pro 09/11/2015 10:07 3.426 README.md

Notice I have compiled QtDropbox.dll I have modified libqtdropbox.pri like this: INCLUDEPATH += qtdropbox LIBS += "C:\Users\Tirso\Documents\QtCreator\tests\qtdropbox\QtDropbox.dll"

HEADERS += src\qtdropbox_global.h
src\qdropbox.h
src\qtdropbox.h
src\qdropboxjson.h
src\qdropboxaccount.h
src\qdropboxfile.h
src\qdropboxfileinfo.h
src\qdropboxdeltaresponse.h

CONFIG += network and test.pro:

-------------------------------------------------

Project created by QtCreator 2013-01-29T00:05:24

-------------------------------------------------

QT += network testlib xml gui

TARGET = qtdropboxtest CONFIG += console CONFIG -= app_bundle

TEMPLATE = app

SOURCES +=
qtdropboxtest.cpp DEFINES += SRCDIR=\"$$PWD/\"

HEADERS +=
qtdropboxtest.hpp
keys.hpp
keys.hpp

LIBS += -L../../build-tests-Desktop_Qt_5_5_1_MinGW_32bit-Debug

INCLUDEPATH += src/

include("qtdropbox/libqtdropbox.pri")

target.path = ../lib/ INSTALLS += target

but i hace a lot of warning errors and another 3 bad errors: C:\Users\Tirso\Documents\QtCreator\tests\qtdropboxtest.cpp:258: error: undefined reference to QDropboxDeltaResponse::getNextCursor() const' C:\Users\Tirso\Documents\QtCreator\tests\qtdropboxtest.cpp:259: error: undefined reference toQDropboxDeltaResponse::hasMore() const' C:\Users\Tirso\Documents\QtCreator\tests\qtdropboxtest.cpp:261: error: undefined reference to `QDropboxDeltaResponse::getEntries() const'

What i'm doing wrong? I really don't know I only want the test program working to see how it works Thank you very much Tirso

tirbalf avatar Apr 02 '16 17:04 tirbalf

Where I said : "I have created proyect called test, inside the src folder, qtdropboix folder"

I mean: I have created proyect called test, inside the folder 'test' there is the 'src' folder and the 'qtdropbox' folder.

Sorry my bad english.

tirbalf avatar Apr 03 '16 18:04 tirbalf