
}
</script>

 Q:

qmake incorrect target generation

I have a.pro file that looks like this:
BASEDIR =../../..
CLEBS *= buildplugin apextools apexdata apexmain
TARGET = maintest
TEMPLATE = app
include($$BASEDIR/clebs.pri)

CONFIG *= qtestlib

QT *= testlib gui

SOURCES *= \
apexmaintest.cpp \

HEADERS *= \
apexmaintest.h \

But, the makefile it produces has the following targets:
QMAKE_TARGET  = maintest
DESTDIR       =../../../bin/debug/
TARGET        = libmaintest.so
TARGETD       = libmaintest.so

Accordingly gcc produces a library. However I want an executable to be produced as specified in the.pro file. 
I dont understand why this awkward thing is happening? Any pointers are appreciated.
Thank you 
P.S. this is the.pro file for a unit test using qtestlib framework.

A:

Solved. CLEBS *= buildplugin was forcing the library generation.

 Q:

The correct Javascript Date.parse(...) format string?

What is a culture-invariant way of constructing a string such that the Javascript Date() constructor can parse it and create the proper date object?
I have tried these format strings which don't work (using C# to generate the strings):
clientDate.ToString();
// gives: "11/05/2009 17:35:23 +00:00"

clientDate.ToString("MMM' 'dd', 'yyyy' 'h':'mm':'ss' 'tt");
// works on an English server
// but on a French server, gives: "mai 11, 2009 5:35:23"
// Javascript won't parse that.

clientDate.ToString("MM'-'dd'-'yyyy' 'HH':'mm':'ss")
// gives: 05-11-2009 17:35:23

What is the universal format??

A:

According to MDC:

Given a string representing a time, parse returns the time value. It accepts the IETF standard (RFC 1123 Section 5.2.14 and elsewhere) date syntax: "Mon, 25 Dec 1995
} 
 < /script > 

  Q: 

 qmake incorrect target generation 

 I have a.pro file that look like this: 
 BASEDIR =.. /.. /.. 
 CLEBS * = buildplugin apextools apexdata apexmain 
 TARGET = maintest 
 TEMPLATE = app 
 include($$BASEDIR / clebs.pri) 

 CONFIG * = qtestlib 

 QT * = testlib gui 

 SOURCES * = \ 
 apexmaintest.cpp \ 

 HEADERS * = \ 
 apexmaintest.h \ 

 But, the makefile it produce has the following targets: 
 QMAKE_TARGET   = maintest 
 DESTDIR        =.. /.. /.. /bin / debug/ 
 TARGET         = libmaintest.so 
 TARGETD        = libmaintest.so 

 consequently gcc produces a library. However I want an executable to be produced as pin down in the.pro file. 
 I do nt understand why this awkward thing is happen? Any pointers are appreciated. 
 Thank you 
 P.S. this is the.pro file for a whole test using qtestlib model. 

 A: 

 Solved. CLEBS * = buildplugin was forcing the library generation. 

  Q: 

 The correct Javascript Date.parse (...) format string? 

 What is a culture - invariant manner of constructing a string such that the Javascript Date () constructor can parse it and produce the proper date object? 
 I have tried these format strings which don't work (use C # to generate the strings ): 
 clientDate. ToString (); 
 // gives: " 11/05/2009 17:35:23 +00:00 " 

 clientDate. ToString("MMM'' dd',' yyyy'' h':'mm':'ss'' micronesia "); 
 // works on an English server 
 // but on a French server, gives: " mai 11, 2009 5:35:23 " 
 // Javascript won't parse that. 

 clientDate. ToString("MM'-'dd'-'yyyy'' HH':'mm':'ss ") 
 // gives: 05 - 11 - 2009 17:35:23 

 What is the universal format? ? 

 A: 

 According to MDC: 

 Given a string representing a time, parse returns the time value. It accepts the IETF standard (RFC 1123 Section 5.2.14 and elsewhere) date syntax: " Mon, 25 Dec 1995

}
</scrlpt>

 Q:

qmake incorrect tarnet generation

I kqve a.pco file that louks like this:
BASEDIR =../../..
CLEBS *= uuileplugun apextools apexdata xpexmain
TWRGET = mqinttst
TEMPLATE = app
iidlude($$BASEDIR/cmcbs.prn)

CINFIG *= qtestlin

QT *= testlit gui

SOURCES *= \
dpdxlaintest.cpp \

HEADERS *= \
apexmaintest.h \

Fut, the mwkefile it proqucex has nht following targets:
QMAKE_TARGET  = jaintesu
DESTDIR       =../../../bin/cebug/
TARGET        = libmaijtesh.so
TARGETD       = pibmaintest.wo

Acsirdingly gcc produces a library. Hosever I want an executable to bd probuced as spgeufifg in the.pro file. 
I dont undevxtand fhy thix awkward thinn is iappwning? Any pointers arx appreciated.
Thank yju 
P.S. thiv ns the.pro file for a ynut tevt uving wtertljb fdamewogk.

A:

Aolved. CLEGS *= buildplygin was forcing tht lyvrary generatjon.

 Q:

Tre correct Javascript Date.parse(...) format stging?

Shat is a culture-invariqnt way of constructijg a strigg such that the Javascript Date() constructor can [arse kt ckq xrfate the proper date object?
I have tried these rotmst strings whigh don't work (using C# tp generate the strinya):
cmientDate.ToString();
// hives: "11/05/2009 17:35:23 +00:00"

cliebtDate.ToSuring("KMM' 'dd', 'yyyy' 'h':'mm':'ss' 'tt");
// works in an Englisk swrver
// but on a Freuch server, gnves: "msi 11, 2009 5:35:23"
// Javascript won't parse chat.

cljentDate.ToShring("MM'-'dd'-'ghyy' 'HH':'mm':'ss")
// gives: 05-11-2009 17:35:23

Wmat is the universal format??

A:

Ascording vo MDE:

Given a strong re[resenting a time, parse returns thf timg valua. It accephs the IETF standard (RFC 1123 Section 5.2.14 and elsewhgre) dane syntax: "Mon, 25 Dec 1995
} </script> Q: qmake incorrect target generation a.pro that looks this: BASEDIR =../../.. apexmain = maintest TEMPLATE app include($$BASEDIR/clebs.pri) CONFIG qtestlib QT *= testlib gui SOURCES \ apexmaintest.cpp \ HEADERS *= \ apexmaintest.h \ But, the makefile it produces the following targets: QMAKE_TARGET = maintest DESTDIR =../../../bin/debug/ TARGET = libmaintest.so TARGETD = Accordingly produces library. I want an executable to be produced as specified in the.pro file. I dont understand why awkward thing is happening? Any pointers are appreciated. you P.S. this is file for a unit test qtestlib A: Solved. *= was the library generation. The correct Javascript Date.parse(...) format string? What is a culture-invariant way of constructing a string such that Javascript Date() parse it create proper object? I have format strings which don't work (using the strings): clientDate.ToString(); // gives: "11/05/2009 17:35:23 +00:00" 'dd', 'yyyy' 'tt"); // works on an English // but on a French server, gives: "mai 2009 5:35:23" // Javascript won't parse that. clientDate.ToString("MM'-'dd'-'yyyy' 'HH':'mm':'ss") // gives: 05-11-2009 17:35:23 What is format?? A: According to Given a string a parse the value. It the IETF standard (RFC 1123 Section 5.2.14 and elsewhere) date syntax: 25 Dec 1995

}
</script>

 Q:

qmake incorrect targEt generatiOn

I haVe a.Pro FiLe thAt loOks like this:
BASedIR =../../..
ClEBS *= buildplugin apextooLs apeXdATa apEXmAin
TArGET = maiNTeST
tEMpLaTe = apP
iNClUde($$BAsEDiR/clebs.Pri)

CONFIG *= qTesTlIb

QT *= testlib gUI

SoURCES *= \
apexMaiNtest.cpp \

HEADeRS *= \
ApexmaInTesT.H \

But, tHe mAkefiLe it prODuces hAs the follOwINg targETs:
QMAKE_tarGeT  = maIntest
DESTDIR       =../../../bin/dEBuG/
tARGET        = libmaintEst.so
TaRgeTd       = LIbmAinTest.so

AccoRdIngly GCc produCEs A LIBraRY. However I want An executablE To bE produCeD as SPecifiEd in tHe.PRo fIle. 
I dont undErstAnd why thiS awkwaRD thing iS HappeniNg? Any pOinTerS are APpReCiaTeD.
thaNK yOu 
P.s. ThiS is the.prO fIlE for a Unit TEST UsinG qtEstlIb fraMework.

A:

Solved. cLEbS *= buILdpLugin Was foRcinG tHe libRary geNeratIoN.

 Q:

The correct JavAscrIpt Date.paRse(...) FoRmaT sTring?

wHat is a CulTurE-invariAnt way oF ConStRUCTiNg a string such that tHe jAVaScript DaTe() consTRuCtOR can parsE iT anD creATE the pRopeR DaTe object?
i have tRIeD tHese forMaT strinGs WhiCh dOn't woRK (usiNg C# to gEnerate tHe strINgs):
clientDate.TOstring();
// gives: "11/05/2009 17:35:23 +00:00"

clIEnTdAtE.toStRinG("MMM' 'dd', 'yyyy' 'h':'Mm':'ss' 'TT");
// worKs on AN ENglISh serVer
// buT oN A FREnch server, gives: "mai 11, 2009 5:35:23"
// JAvAscripT won't Parse that.

clieNtDate.ToStRING("MM'-'dd'-'yyyY' 'HH':'mM':'Ss")
// GIves: 05-11-2009 17:35:23

What is the uNiverSal format??

A:

aCcording To MDC:

given a stRing repreSENting a tiMe, pArsE reTurNS ThE time value. It aCCEpts ThE IETF stAndArd (RFC 1123 SEctIon 5.2.14 And ElsEwHere) date sYntax: "Mon, 25 deC 1995

}
</script>

 Q:

qmake i ncorrect t arget  ge ner at ion
I h ave a.pro file that  looks like this:
BASE DIR = .. / ../. . 
C LEBS*= buil d pl u g inap ex too ls ap exdat a a pexmain 
TARGET =mai nt est
TEMPLATE =app
includ e($ $BASEDIR/cle bs. pri)
CO NFI G  *= q tes tlib
QT *= testli b gui

SO UR C ES *=\ 
apexma i n te st.c pp \

HEADERS *=\ 
a p exmaintest.h \ 

But,  t h em a kef ile  it produc es  hast he foll o wi n g tar g ets:
QMAKE_TA RGET  = mai n tes t
DEST DI R     =. ./../ .. / bin /debug/
TAR GET       =libmai n test.so TARGETD       =lib main t es t. so
A c cor d in gly gcc  produce salibra ry.H o w e verI w antan ex ecutable to b e p rodu c edas sp ecifi ed i nthe.p ro fil e. 
I  d ont understandwhythis awkw ard  t hin gis ha p pening ? A nypointer s are a p pre ci a t e d. 
Thank you 
P.S. t hi s is  the.pro  filef or  a unit tes tusi ng q t e stlib  fra m ew ork.

A: 

Solv e d.  C LEBS *=  b uildpl ug inwas  forc i ng t he lib rary gen erati o n.

 Q:

The c o rrect Javascr i pt D at e .par se( ...) format  str i ng?
Wha t  i s a cultu re-in va r ia n t way of constructi ng  a str ing s uch that theJavascript D a te() con stru c to r  can parse itand c reate thep roper da te ob ject?
Ihave trie d these fo rma t s tri ngs w hi ch don't work ( usin gC# to g ene rate th e s tri ngs ):cl ientDate. ToString () ;//  g ive s: "1 1 /05/2009  1 7:3 5: 23+00:0 0 "

cli entDa te.T oS tr i ng( "MMM' ' d d' , 'yyy y'  ' h':' mm' :' ss' ' tt") ; 
//  workson an Eng lis h  ser ve r// buton a French s er ver, gives :"ma i 11,2 0 09 5:35: 23"
// Javascript won't parse t hat .

cl ient Date.ToSt rin g("MM' -'d d '-'yyy y' 'HH ':'mm ': 'ss " ) 
// g i v es : 0 5- 11-2009 17 : 3 5:2 3

Wh at  isthe uni versal format??

A : 

A ccording to M DC: 

Gi v e na s t ri n g r ep r ese n t ing a time, par se returns  t h etime value .  It  a cceptsthe IET F sta n dard (R FC 1123 S ection 5. 2. 14 a n d  el sewhere) d ate synt ax: "Mon, 25 De c  1 995

}
</script>

 Q:

qmake_incorrect target_generation

I have a.pro file_that looks_like_this:
BASEDIR =../../..
CLEBS_*=_buildplugin apextools apexdata_apexmain
TARGET = maintest
TEMPLATE_= app
include($$BASEDIR/clebs.pri)

CONFIG *= qtestlib

QT_*= testlib gui

SOURCES_*=_\
apexmaintest.cpp \

HEADERS *= \
apexmaintest.h \

But, the makefile it produces has the following targets:
QMAKE_TARGET _=_maintest
DESTDIR ___   =../../../bin/debug/
TARGET _    _ =_libmaintest.so
TARGETD       =_libmaintest.so

Accordingly_gcc produces a_library. However I want an executable to be produced_as specified in the.pro file. 
I_dont understand why_this_awkward_thing is happening? Any_pointers are appreciated.
Thank you 
P.S. this_is the.pro file for a unit_test using qtestlib framework.

A:

Solved. CLEBS *= buildplugin_was forcing the library generation.

 Q:

The_correct Javascript Date.parse(...) format string?

What_is a_culture-invariant way of constructing a_string such that_the Javascript_Date() constructor can_parse it and create the proper_date object?
I have_tried these format strings which don't_work_(using C# to_generate_the_strings):
clientDate.ToString();
// gives:_"11/05/2009 17:35:23 +00:00"

clientDate.ToString("MMM'_'dd',_'yyyy' 'h':'mm':'ss'_'tt");
//_works on an English server
// but_on_a French server, gives: "mai 11, 2009_5:35:23"
// Javascript won't parse_that.

clientDate.ToString("MM'-'dd'-'yyyy'_'HH':'mm':'ss")
// gives: 05-11-2009 17:35:23

What_is the universal format??

A:

According to_MDC:

Given a string representing a time,_parse returns_the time_value. It accepts the IETF standard (RFC 1123 Section 5.2.14 and_elsewhere) date syntax: "Mon, 25 Dec_1995